GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.nativebase.io β Badge | NativeBase | Universal Components for React and React Native Badge | NativeBase | Universal Components for React and React NativeDisclosure If you are starting a new project, please try gluestack-ui for better performance and new design. Badge Badges allow the highlighting of an itemβs status. This provides quick recognition. Import
Examples Basic
Color Scheme
Variants
Composition
Props Badge implements , , , , , , , , , variant The style variant of the badge. Type: ResponsiveValue<"subtle" | "solid" | "outline" | (string & {})> Default: subtle colorScheme The color scheme to use for the badge. Must be a key in theme.colors. Type: ColorSchemeType rightIcon The right icon element to use in the button. Type: Element | Element[] leftIcon The left icon element to use in the button. Type: Element | Element[] startIcon The start icon element to use in the button. Type: Element | Element[] endIcon The end icon element to use in the button. Type: Element | Element[] _text Props to style the child text Type: InterfaceTextProps<ITextProps> & VariantSizeColorScheme<"Text"> _icon Props to be passed to the Icon used inside of Button. Type: InterfaceIconProps & Partial<{}> & VariantSizeColorScheme<"Icon"> Styling NativeBase ships with a default theme for each component. Check out the default theme of the badge. Info: We can easily extend the badge component theme using extendTheme function as described in the documentation . MadeWithNativeBase gluestack-ui |
| You are visitor 01402775 β GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ600. No cookies required. |