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
113 lines
3.8 KiB
JSON
113 lines
3.8 KiB
JSON
{
|
|
"props": {
|
|
"children": { "type": { "name": "node" } },
|
|
"columns": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "Array<number><br>| number<br>| object"
|
|
},
|
|
"default": "12"
|
|
},
|
|
"columnSpacing": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "Array<number<br>| string><br>| number<br>| object<br>| string"
|
|
}
|
|
},
|
|
"container": { "type": { "name": "bool" }, "default": "false" },
|
|
"direction": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "'column-reverse'<br>| 'column'<br>| 'row-reverse'<br>| 'row'<br>| Array<'column-reverse'<br>| 'column'<br>| 'row-reverse'<br>| 'row'><br>| object"
|
|
},
|
|
"default": "'row'"
|
|
},
|
|
"offset": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "string<br>| number<br>| Array<string<br>| number><br>| object"
|
|
}
|
|
},
|
|
"rowSpacing": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "Array<number<br>| string><br>| number<br>| object<br>| string"
|
|
}
|
|
},
|
|
"size": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "string<br>| bool<br>| number<br>| Array<string<br>| bool<br>| number><br>| object"
|
|
}
|
|
},
|
|
"spacing": {
|
|
"type": {
|
|
"name": "union",
|
|
"description": "Array<number<br>| string><br>| number<br>| object<br>| string"
|
|
},
|
|
"default": "0"
|
|
},
|
|
"wrap": {
|
|
"type": {
|
|
"name": "enum",
|
|
"description": "'nowrap'<br>| 'wrap-reverse'<br>| 'wrap'"
|
|
},
|
|
"default": "'wrap'"
|
|
}
|
|
},
|
|
"name": "Grid",
|
|
"imports": ["import Grid from '@mui/system/Grid';", "import { Grid } from '@mui/system';"],
|
|
"classes": [
|
|
{
|
|
"key": "container",
|
|
"className": "MuiGrid-container",
|
|
"description": "Styles applied to the root element if `container={true}`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "direction-xs-column",
|
|
"className": "MuiGrid-direction-xs-column",
|
|
"description": "Styles applied to the root element if `direction=\"column\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "direction-xs-column-reverse",
|
|
"className": "MuiGrid-direction-xs-column-reverse",
|
|
"description": "Styles applied to the root element if `direction=\"column-reverse\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "direction-xs-row-reverse",
|
|
"className": "MuiGrid-direction-xs-row-reverse",
|
|
"description": "Styles applied to the root element if `direction=\"row-reverse\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "root",
|
|
"className": "MuiGrid-root",
|
|
"description": "Styles applied to the root element.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "wrap-xs-nowrap",
|
|
"className": "MuiGrid-wrap-xs-nowrap",
|
|
"description": "Styles applied to the root element if `wrap=\"nowrap\"`.",
|
|
"isGlobal": false
|
|
},
|
|
{
|
|
"key": "wrap-xs-wrap-reverse",
|
|
"className": "MuiGrid-wrap-xs-wrap-reverse",
|
|
"description": "Styles applied to the root element if `wrap=\"reverse\"`.",
|
|
"isGlobal": false
|
|
}
|
|
],
|
|
"spread": true,
|
|
"themeDefaultProps": true,
|
|
"muiName": "MuiGrid",
|
|
"forwardsRefTo": "HTMLElement",
|
|
"filename": "/packages/mui-system/src/Grid/Grid.tsx",
|
|
"inheritance": null,
|
|
"demos": "<ul><li><a href=\"/joy-ui/react-grid/\">Grid (Joy UI)</a></li>\n<li><a href=\"/material-ui/react-grid/\">Grid (Material UI)</a></li></ul>",
|
|
"cssComponent": true
|
|
}
|