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#
Props#
here all the list of Props you can use for Badge Component and it Inherits all ViewProps Props, from React Native
status#
this props gives you 3 different status like 'success' | 'error' | 'primary' | 'warning' type string
Value#
props for adding the text and type string
width#
props for adding the badge width and type number by default it will 40px be in Badge
borderRadius#
props for adding the badge border radius and type number by default it will 100px be in Badge
textColor#
props for textColor for value of the badge by default it white string
textSize#
props for textsize for value of the badge by default it 12 number
containerStyle#
props give addition props to the badge element type Object
TextStyle#
props give addition props to the badge Value element type Object