Skip to main content

Badge

Badges are used to highlight an item's status for quick recognition.

💬 Feedback

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: Color;

Optional: Yes


tintColor

Type: Color;

Optional: Yes


style

Type: Animated.AnimatedProps<ViewProps>["style"];

Optional: Yes


labelStyle

Type: StyleProp<TextStyle>;

Optional: Yes