Open
Description
Is your feature request related to a problem? Please describe.
I would like my toast height to be dynamic based on the content:
because old people scale their text way up:
Describe the solution you'd like
I was able to do this by not limiting the size in base toast:
import { StyleSheet } from 'react-native';
export const HEIGHT = 60;
export const WIDTH = 340;
export const BORDER_RADIUS = 6;
export const styles = StyleSheet.create({
base: {
flexDirection: 'row',
// height: HEIGHT,
// width: WIDTH,
borderRadius: BORDER_RADIUS,
shadowOffset: { width: 0, height: 0 },
shadowOpacity: 0.1,
shadowRadius: BORDER_RADIUS,
elevation: 2,
backgroundColor: '#FFF'
},
leadingBorder: {
borderLeftWidth: 5,
borderLeftColor: '#D8D8D8'
},
Metadata
Metadata
Assignees
Labels
No labels