Banner
API documentation for the React Native Banner component. Learn about the available props.
#
Importimport { Banner } from "@react-native-material/core";// orimport Banner from "@react-native-material/core/Banner";
#
Propsinterface BannerProps { text: string | React.ReactElement | null;
illustration?: React.ReactElement | ((props: { size: number }) => React.ReactElement | null) | null;
buttons: React.ReactElement | React.ReactElement[] | null;
style?: StyleProp<ViewStyle>;
contentContainerStyle?: StyleProp<ViewStyle>;
illustrationContainerStyle?: StyleProp<ViewStyle>;
textContainerStyle?: StyleProp<ViewStyle>;
textStyle?: StyleProp<TextStyle>;
actionsContainerStyle?: StyleProp<ViewStyle>;}