Files
react-test/docs/pages/material-ui/api/svg-icon.json
how2ice 005cf56baf
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
init project
2025-12-12 14:26:25 +09:00

109 lines
3.7 KiB
JSON

{
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'inherit'<br>&#124;&nbsp;'action'<br>&#124;&nbsp;'disabled'<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": "'inherit'"
},
"component": { "type": { "name": "elementType" } },
"fontSize": {
"type": {
"name": "union",
"description": "'inherit'<br>&#124;&nbsp;'large'<br>&#124;&nbsp;'medium'<br>&#124;&nbsp;'small'<br>&#124;&nbsp;string"
},
"default": "'medium'"
},
"htmlColor": { "type": { "name": "string" } },
"inheritViewBox": { "type": { "name": "bool" }, "default": "false" },
"shapeRendering": { "type": { "name": "string" } },
"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 }
},
"titleAccess": { "type": { "name": "string" } },
"viewBox": { "type": { "name": "string" }, "default": "'0 0 24 24'" }
},
"name": "SvgIcon",
"imports": [
"import SvgIcon from '@mui/material/SvgIcon';",
"import { SvgIcon } from '@mui/material';"
],
"classes": [
{
"key": "colorAction",
"className": "MuiSvgIcon-colorAction",
"description": "Styles applied to the root element if `color=\"action\"`.",
"isGlobal": false
},
{
"key": "colorDisabled",
"className": "MuiSvgIcon-colorDisabled",
"description": "Styles applied to the root element if `color=\"disabled\"`.",
"isGlobal": false
},
{
"key": "colorError",
"className": "MuiSvgIcon-colorError",
"description": "Styles applied to the root element if `color=\"error\"`.",
"isGlobal": false
},
{
"key": "colorPrimary",
"className": "MuiSvgIcon-colorPrimary",
"description": "Styles applied to the root element if `color=\"primary\"`.",
"isGlobal": false
},
{
"key": "colorSecondary",
"className": "MuiSvgIcon-colorSecondary",
"description": "Styles applied to the root element if `color=\"secondary\"`.",
"isGlobal": false
},
{
"key": "fontSizeInherit",
"className": "MuiSvgIcon-fontSizeInherit",
"description": "Styles applied to the root element if `fontSize=\"inherit\"`.",
"isGlobal": false
},
{
"key": "fontSizeLarge",
"className": "MuiSvgIcon-fontSizeLarge",
"description": "Styles applied to the root element if `fontSize=\"large\"`.",
"isGlobal": false
},
{
"key": "fontSizeMedium",
"className": "MuiSvgIcon-fontSizeMedium",
"description": "Styles applied to the root element if `fontSize=\"medium\"`.",
"isGlobal": false
},
{
"key": "fontSizeSmall",
"className": "MuiSvgIcon-fontSizeSmall",
"description": "Styles applied to the root element if `fontSize=\"small\"`.",
"isGlobal": false
},
{
"key": "root",
"className": "MuiSvgIcon-root",
"description": "Styles applied to the root element.",
"isGlobal": false
}
],
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiSvgIcon",
"forwardsRefTo": "SVGSVGElement",
"filename": "/packages/mui-material/src/SvgIcon/SvgIcon.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
}