Badge
Component to highlight an item's status for quick recognition.
Import
import { Badge } from 'react-native-ficus-ui';
Usage
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" |