96 lines
3.2 KiB
JSON
96 lines
3.2 KiB
JSON
|
|
{
|
||
|
|
"props": {
|
||
|
|
"baseClassName": { "type": { "name": "string" }, "default": "'material-icons'" },
|
||
|
|
"children": { "type": { "name": "node" } },
|
||
|
|
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
|
||
|
|
"color": {
|
||
|
|
"type": {
|
||
|
|
"name": "union",
|
||
|
|
"description": "'inherit'<br>| 'action'<br>| 'disabled'<br>| 'primary'<br>| 'secondary'<br>| 'error'<br>| 'info'<br>| 'success'<br>| 'warning'<br>| string"
|
||
|
|
},
|
||
|
|
"default": "'inherit'"
|
||
|
|
},
|
||
|
|
"component": { "type": { "name": "elementType" } },
|
||
|
|
"fontSize": {
|
||
|
|
"type": {
|
||
|
|
"name": "union",
|
||
|
|
"description": "'inherit'<br>| 'large'<br>| 'medium'<br>| 'small'<br>| string"
|
||
|
|
},
|
||
|
|
"default": "'medium'"
|
||
|
|
},
|
||
|
|
"sx": {
|
||
|
|
"type": {
|
||
|
|
"name": "union",
|
||
|
|
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
|
||
|
|
},
|
||
|
|
"additionalInfo": { "sx": true }
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"name": "Icon",
|
||
|
|
"imports": ["import Icon from '@mui/material/Icon';", "import { Icon } from '@mui/material';"],
|
||
|
|
"classes": [
|
||
|
|
{
|
||
|
|
"key": "colorAction",
|
||
|
|
"className": "MuiIcon-colorAction",
|
||
|
|
"description": "Styles applied to the root element if `color=\"action\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "colorDisabled",
|
||
|
|
"className": "MuiIcon-colorDisabled",
|
||
|
|
"description": "Styles applied to the root element if `color=\"disabled\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "colorError",
|
||
|
|
"className": "MuiIcon-colorError",
|
||
|
|
"description": "Styles applied to the root element if `color=\"error\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "colorPrimary",
|
||
|
|
"className": "MuiIcon-colorPrimary",
|
||
|
|
"description": "Styles applied to the root element if `color=\"primary\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "colorSecondary",
|
||
|
|
"className": "MuiIcon-colorSecondary",
|
||
|
|
"description": "Styles applied to the root element if `color=\"secondary\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "fontSizeInherit",
|
||
|
|
"className": "MuiIcon-fontSizeInherit",
|
||
|
|
"description": "Styles applied to the root element if `fontSize=\"inherit\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "fontSizeLarge",
|
||
|
|
"className": "MuiIcon-fontSizeLarge",
|
||
|
|
"description": "Styles applied to the root element if `fontSize=\"large\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "fontSizeSmall",
|
||
|
|
"className": "MuiIcon-fontSizeSmall",
|
||
|
|
"description": "Styles applied to the root element if `fontSize=\"small\"`.",
|
||
|
|
"isGlobal": false
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"key": "root",
|
||
|
|
"className": "MuiIcon-root",
|
||
|
|
"description": "Styles applied to the root element.",
|
||
|
|
"isGlobal": false
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"spread": true,
|
||
|
|
"themeDefaultProps": true,
|
||
|
|
"muiName": "MuiIcon",
|
||
|
|
"forwardsRefTo": "HTMLSpanElement",
|
||
|
|
"filename": "/packages/mui-material/src/Icon/Icon.js",
|
||
|
|
"inheritance": null,
|
||
|
|
"demos": "<ul><li><a href=\"/material-ui/icons/\">Icons</a></li>\n<li><a href=\"/material-ui/material-icons/\">Material Icons</a></li></ul>",
|
||
|
|
"cssComponent": false
|
||
|
|
}
|