Files
react-test/docs/pages/material-ui/api/bottom-navigation-action.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

70 lines
2.3 KiB
JSON
Raw Permalink Normal View History

2025-12-12 14:26:25 +09:00
{
"props": {
"children": { "type": { "name": "custom", "description": "unsupportedProp" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"icon": { "type": { "name": "node" } },
"label": { "type": { "name": "node" } },
"showLabel": { "type": { "name": "bool" } },
"slotProps": {
"type": {
"name": "shape",
"description": "{ label?: func<br>&#124;&nbsp;object, root?: func<br>&#124;&nbsp;object }"
},
"default": "{}"
},
"slots": {
"type": { "name": "shape", "description": "{ label?: elementType, root?: elementType }" },
"default": "{}"
},
"sx": {
"type": {
"name": "union",
"description": "Array&lt;func<br>&#124;&nbsp;object<br>&#124;&nbsp;bool&gt;<br>&#124;&nbsp;func<br>&#124;&nbsp;object"
},
"additionalInfo": { "sx": true }
},
"value": { "type": { "name": "any" } }
},
"name": "BottomNavigationAction",
"imports": [
"import BottomNavigationAction from '@mui/material/BottomNavigationAction';",
"import { BottomNavigationAction } from '@mui/material';"
],
"slots": [
{
"name": "root",
"description": "The component that renders the root.",
"default": "ButtonBase",
"class": "MuiBottomNavigationAction-root"
},
{
"name": "label",
"description": "The component that renders the label.",
"default": "span",
"class": "MuiBottomNavigationAction-label"
}
],
"classes": [
{
"key": "iconOnly",
"className": "MuiBottomNavigationAction-iconOnly",
"description": "State class applied to the root element if `showLabel={false}` and not selected.",
"isGlobal": false
},
{
"key": "selected",
"className": "Mui-selected",
"description": "State class applied to the root element if selected.",
"isGlobal": true
}
],
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiBottomNavigationAction",
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.js",
"inheritance": { "component": "ButtonBase", "pathname": "/material-ui/api/button-base/" },
"demos": "<ul><li><a href=\"/material-ui/react-bottom-navigation/\">Bottom Navigation</a></li></ul>",
"cssComponent": false
}