The Badge component shows a small badge on its child.
Explore the available props for the Badge component
Prop | Type | Default | Description |
---|---|---|---|
badgeValue | number | 0 | The badgeValue rendered within the badge. |
maxCount | number | - | Max count to show. |
position | string | top right | Where to show the Badge. |
children | node | - | Child components and badgeValue to be placed within it. |
style | string | - | Any CSS className to style the Badge. |
badgeStyle | string | - | Any CSS className to style the Badge badgeValue. |