react-native-toast-message
Version:
Toast message component for React Native
42 lines (41 loc) • 971 B
TypeScript
export declare const HEIGHT = 60;
export declare const WIDTH = 340;
export declare const BORDER_RADIUS = 6;
export declare const styles: {
base: {
flexDirection: "row";
height: number;
width: number;
borderRadius: number;
shadowOffset: {
width: number;
height: number;
};
shadowOpacity: number;
shadowRadius: number;
elevation: number;
backgroundColor: string;
};
leadingBorder: {
borderLeftWidth: number;
borderLeftColor: string;
};
contentContainer: {
paddingHorizontal: number;
flex: number;
justifyContent: "center";
alignItems: "flex-start";
};
text1: {
fontSize: number;
fontWeight: "bold";
marginBottom: number;
color: string;
width: string;
};
text2: {
fontSize: number;
color: string;
width: string;
};
};