Badge
A basic badge component that should render nicely on any platform. Supports a good level of customization.
You can customization Button component with the Props
#
Usage#
Reference#
Propshere all the list of Props you can use for Badge Component and it Inherits all ViewProps Props, from React Native
#
statusthis props gives you 3 different status like 'success' | 'error' | 'primary' | 'warning' type string
#
Valueprops for adding the text and type string
#
widthprops for adding the badge width and type number by default it will 40px be in Badge
#
borderRadiusprops for adding the badge border radius and type number by default it will 100px be in Badge
#
textColorprops for textColor for value of the badge by default it white string
#
textSizeprops for textsize for value of the badge by default it 12 number
#
containerStyleprops give addition props to the badge element type Object
#
TextStyleprops give addition props to the badge Value element type Object