Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
160 lines
5.3 KiB
JSON
160 lines
5.3 KiB
JSON
{
|
|
"props": {
|
|
"children": { "type": { "name": "custom", "description": "node" } },
|
|
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
|
|
"color": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "'inherit'<br>| 'default'<br>| 'primary'<br>| 'secondary'<br>| 'error'<br>| 'info'<br>| 'success'<br>| 'warning'<br>| 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>| 'start'<br>| 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>| 'medium'<br>| 'large'<br>| string"
|
|
},
|
|
"default": "'medium'"
|
|
},
|
|
"sx": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "Array<func<br>| object<br>| bool><br>| func<br>| 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
|
|
}
|