168 lines
5.5 KiB
JSON
168 lines
5.5 KiB
JSON
|
|
{
|
||
|
|
"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<func<br>| object<br>| bool><br>| func<br>| object"
|
||
|
|
},
|
||
|
|
"additionalInfo": { "sx": true }
|
||
|
|
},
|
||
|
|
"value": { "type": { "name": "union", "description": "''<br>| any" } },
|
||
|
|
"variant": {
|
||
|
|
"type": {
|
||
|
|
"name": "enum",
|
||
|
|
"description": "'filled'<br>| 'outlined'<br>| '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
|
||
|
|
}
|