Badge
Component to highlight an item's status for quick recognition.
Import
import { Badge } from 'react-native-ficus-ui';
Usage
Change color scheme
EDITABLE EXAMPLE
Change font size
EDITABLE EXAMPLE
Variants
EDITABLE EXAMPLE
Props
Extends every Box
and Text
props.
colorScheme
The colorScheme property, will define background color and text color.
Type | Required | Default |
---|---|---|
string | Yes | gray |
variant
The variant of the Badge.
Type | Required | Default |
---|---|---|
"solid" | "subtle" | "outline" |