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

168 lines
5.5 KiB
JSON
Raw Permalink Normal View History

2025-12-12 14:26:25 +09:00
{
"props": {
"autoWidth": { "type": { "name": "bool" }, "default": "false" },
"children": { "type": { "name": "node" } },
"classes": {
"type": { "name": "object" },
"default": "{}",
"additionalInfo": { "cssApi": true }
},
"defaultOpen": { "type": { "name": "bool" }, "default": "false" },
"defaultValue": { "type": { "name": "any" } },
"displayEmpty": { "type": { "name": "bool" }, "default": "false" },
"IconComponent": { "type": { "name": "elementType" }, "default": "ArrowDropDownIcon" },
"id": { "type": { "name": "string" } },
"input": { "type": { "name": "element" } },
"inputProps": { "type": { "name": "object" } },
"label": { "type": { "name": "node" } },
"labelId": { "type": { "name": "string" } },
"MenuProps": { "type": { "name": "object" } },
"multiple": { "type": { "name": "bool" }, "default": "false" },
"native": { "type": { "name": "bool" }, "default": "false" },
"onChange": {
"type": { "name": "func" },
"signature": {
"type": "function(event: SelectChangeEvent<Value>, child?: object) => void",
"describedArgs": ["event", "child"]
}
},
"onClose": {
"type": { "name": "func" },
"signature": { "type": "function(event: object) => void", "describedArgs": ["event"] }
},
"onOpen": {
"type": { "name": "func" },
"signature": { "type": "function(event: object) => void", "describedArgs": ["event"] }
},
"open": { "type": { "name": "bool" } },
"renderValue": {
"type": { "name": "func" },
"signature": { "type": "function(value: any) => ReactNode", "describedArgs": ["value"] }
},
"SelectDisplayProps": { "type": { "name": "object" } },
"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 }
},
"value": { "type": { "name": "union", "description": "''<br>&#124;&nbsp;any" } },
"variant": {
"type": {
"name": "enum",
"description": "'filled'<br>&#124;&nbsp;'outlined'<br>&#124;&nbsp;'standard'"
},
"default": "'outlined'"
}
},
"name": "Select",
"imports": [
"import Select from '@mui/material/Select';",
"import { Select } from '@mui/material';"
],
"classes": [
{
"key": "disabled",
"className": "Mui-disabled",
"description": "State class applied to the select component `disabled` class.",
"isGlobal": true
},
{
"key": "error",
"className": "Mui-error",
"description": "State class applied to the root element if `error={true}`.",
"isGlobal": true
},
{
"key": "filled",
"className": "MuiSelect-filled",
"description": "Styles applied to the select component if `variant=\"filled\"`.",
"isGlobal": false
},
{
"key": "focused",
"className": "Mui-focused",
"description": "Styles applied to the select component if it is focused.",
"isGlobal": true
},
{
"key": "icon",
"className": "MuiSelect-icon",
"description": "Styles applied to the icon component.",
"isGlobal": false
},
{
"key": "iconFilled",
"className": "MuiSelect-iconFilled",
"description": "Styles applied to the icon component if `variant=\"filled\"`.",
"isGlobal": false,
"isDeprecated": true
},
{
"key": "iconOpen",
"className": "MuiSelect-iconOpen",
"description": "Styles applied to the icon component if the popup is open.",
"isGlobal": false
},
{
"key": "iconOutlined",
"className": "MuiSelect-iconOutlined",
"description": "Styles applied to the icon component if `variant=\"outlined\"`.",
"isGlobal": false,
"isDeprecated": true
},
{
"key": "iconStandard",
"className": "MuiSelect-iconStandard",
"description": "Styles applied to the icon component if `variant=\"standard\"`.",
"isGlobal": false,
"isDeprecated": true
},
{
"key": "multiple",
"className": "MuiSelect-multiple",
"description": "Styles applied to the select component if `multiple={true}`.",
"isGlobal": false
},
{
"key": "nativeInput",
"className": "MuiSelect-nativeInput",
"description": "Styles applied to the underlying native input component.",
"isGlobal": false
},
{
"key": "outlined",
"className": "MuiSelect-outlined",
"description": "Styles applied to the select component if `variant=\"outlined\"`.",
"isGlobal": false
},
{
"key": "root",
"className": "MuiSelect-root",
"description": "Styles applied to the root element.",
"isGlobal": false
},
{
"key": "select",
"className": "MuiSelect-select",
"description": "Styles applied to the select component `select` class.",
"isGlobal": false
},
{
"key": "standard",
"className": "MuiSelect-standard",
"description": "Styles applied to the select component if `variant=\"standard\"`.",
"isGlobal": false
}
],
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiSelect",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/Select/Select.js",
"inheritance": { "component": "OutlinedInput", "pathname": "/material-ui/api/outlined-input/" },
"demos": "<ul><li><a href=\"/material-ui/react-select/\">Select</a></li></ul>",
"cssComponent": false
}