Badge
Badges are used to highlight an item's status for quick recognition.
Import
import { Badge } from "@react-native-material/core";
Props
label
Type: number | string | React.ReactElement | ((props: { color: string }) => React.ReactElement | null) | null;
Optional: Yes
showZero
Type: boolean;
Optional: Yes
max
Type: number;
Optional: Yes
visible
Type: boolean;
Optional: Yes
color
Type: PaletteColor;
Optional: Yes
tintColor
Type: PaletteColor;
Optional: Yes
style
Type: Animated.AnimatedProps<ViewProps>["style"];
Optional: Yes
labelStyle
Type: StyleProp<TextStyle>;
Optional: Yes