useBadge API
API reference docs for the useBadge hook. Learn about the input parameters and other APIs of this exported module.
Demos
For examples and details on the usage of this React hook, visit the demo pages:
Import
import useBadge from '@mui/base/useBadge';
Parameters
Name | Type | Default | Description |
---|
badgeContent | React.ReactNode | | |
invisible | boolean | | |
max | number | | |
showZero | boolean | | |
Return value
Name | Type | Default | Description |
---|