Files
react-test/docs/pages/material-ui/api/icon-button.json

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

160 lines
5.3 KiB
JSON
Raw Normal View History

2025-12-12 14:26:25 +09:00
{
"props": {
"children": { "type": { "name": "custom", "description": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'inherit'<br>&#124;&nbsp;'default'<br>&#124;&nbsp;'primary'<br>&#124;&nbsp;'secondary'<br>&#124;&nbsp;'error'<br>&#124;&nbsp;'info'<br>&#124;&nbsp;'success'<br>&#124;&nbsp;'warning'<br>&#124;&nbsp;string"
},
"default": "'default'"
},
"disabled": { "type": { "name": "bool" }, "default": "false" },
"disableFocusRipple": { "type": { "name": "bool" }, "default": "false" },
"disableRipple": { "type": { "name": "bool" }, "default": "false" },
"edge": {
"type": {
"name": "enum",
"description": "'end'<br>&#124;&nbsp;'start'<br>&#124;&nbsp;false"
},
"default": "false"
},
"loading": { "type": { "name": "bool" }, "default": "null" },
"loadingIndicator": {
"type": { "name": "node" },
"default": "<CircularProgress color=\"inherit\" size={16} />"
},
"size": {
"type": {
"name": "union",
"description": "'small'<br>&#124;&nbsp;'medium'<br>&#124;&nbsp;'large'<br>&#124;&nbsp;string"
},
"default": "'medium'"
},
"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 }
}
},
"name": "IconButton",
"imports": [
"import IconButton from '@mui/material/IconButton';",
"import { IconButton } from '@mui/material';"
],
"classes": [
{
"key": "colorError",
"className": "MuiIconButton-colorError",
"description": "Styles applied to the root element if `color=\"error\"`.",
"isGlobal": false
},
{
"key": "colorInfo",
"className": "MuiIconButton-colorInfo",
"description": "Styles applied to the root element if `color=\"info\"`.",
"isGlobal": false
},
{
"key": "colorInherit",
"className": "MuiIconButton-colorInherit",
"description": "Styles applied to the root element if `color=\"inherit\"`.",
"isGlobal": false
},
{
"key": "colorPrimary",
"className": "MuiIconButton-colorPrimary",
"description": "Styles applied to the root element if `color=\"primary\"`.",
"isGlobal": false
},
{
"key": "colorSecondary",
"className": "MuiIconButton-colorSecondary",
"description": "Styles applied to the root element if `color=\"secondary\"`.",
"isGlobal": false
},
{
"key": "colorSuccess",
"className": "MuiIconButton-colorSuccess",
"description": "Styles applied to the root element if `color=\"success\"`.",
"isGlobal": false
},
{
"key": "colorWarning",
"className": "MuiIconButton-colorWarning",
"description": "Styles applied to the root element if `color=\"warning\"`.",
"isGlobal": false
},
{
"key": "disabled",
"className": "Mui-disabled",
"description": "State class applied to the root element if `disabled={true}`.",
"isGlobal": true
},
{
"key": "edgeEnd",
"className": "MuiIconButton-edgeEnd",
"description": "Styles applied to the root element if `edge=\"end\"`.",
"isGlobal": false
},
{
"key": "edgeStart",
"className": "MuiIconButton-edgeStart",
"description": "Styles applied to the root element if `edge=\"start\"`.",
"isGlobal": false
},
{
"key": "loading",
"className": "MuiIconButton-loading",
"description": "Styles applied to the root element if `loading={true}`.",
"isGlobal": false
},
{
"key": "loadingIndicator",
"className": "MuiIconButton-loadingIndicator",
"description": "Styles applied to the loadingIndicator element.",
"isGlobal": false
},
{
"key": "loadingWrapper",
"className": "MuiIconButton-loadingWrapper",
"description": "Styles applied to the loadingWrapper element.",
"isGlobal": false
},
{
"key": "root",
"className": "MuiIconButton-root",
"description": "Styles applied to the root element.",
"isGlobal": false
},
{
"key": "sizeLarge",
"className": "MuiIconButton-sizeLarge",
"description": "Styles applied to the root element if `size=\"large\"`.",
"isGlobal": false
},
{
"key": "sizeMedium",
"className": "MuiIconButton-sizeMedium",
"description": "Styles applied to the root element if `size=\"medium\"`.",
"isGlobal": false
},
{
"key": "sizeSmall",
"className": "MuiIconButton-sizeSmall",
"description": "Styles applied to the root element if `size=\"small\"`.",
"isGlobal": false
}
],
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiIconButton",
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-material/src/IconButton/IconButton.js",
"inheritance": { "component": "ButtonBase", "pathname": "/material-ui/api/button-base/" },
"demos": "<ul><li><a href=\"/material-ui/react-button/\">Button</a></li>\n<li><a href=\"/material-ui/react-number-field/\">Number Field</a></li></ul>",
"cssComponent": false
}