Files
react-test/docs/pages/material-ui/api/table-sort-label.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

93 lines
3.0 KiB
JSON
Raw Normal View History

2025-12-12 14:26:25 +09:00
{
"props": {
"active": { "type": { "name": "bool" }, "default": "false" },
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"direction": {
"type": { "name": "enum", "description": "'asc'<br>&#124;&nbsp;'desc'" },
"default": "'asc'"
},
"hideSortIcon": { "type": { "name": "bool" }, "default": "false" },
"IconComponent": { "type": { "name": "elementType" }, "default": "ArrowDownwardIcon" },
"slotProps": {
"type": {
"name": "shape",
"description": "{ icon?: func<br>&#124;&nbsp;object, root?: func<br>&#124;&nbsp;object }"
},
"default": "{}"
},
"slots": {
"type": { "name": "shape", "description": "{ icon?: elementType, root?: elementType }" },
"default": "{}"
},
"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 }
}
},
"name": "TableSortLabel",
"imports": [
"import TableSortLabel from '@mui/material/TableSortLabel';",
"import { TableSortLabel } from '@mui/material';"
],
"slots": [
{
"name": "root",
"description": "The component that renders the root slot.",
"default": "span",
"class": "MuiTableSortLabel-root"
},
{
"name": "icon",
"description": "The component that renders the icon slot.",
"default": "ArrowDownwardIcon",
"class": "MuiTableSortLabel-icon"
}
],
"classes": [
{
"key": "active",
"className": "Mui-active",
"description": "State class applied to the root element if `active={true}`.",
"isGlobal": true
},
{
"key": "directionAsc",
"className": "MuiTableSortLabel-directionAsc",
"description": "Styles applied to the root element if `direction=\"asc\"`.",
"isGlobal": false
},
{
"key": "directionDesc",
"className": "MuiTableSortLabel-directionDesc",
"description": "Styles applied to the root element if `direction=\"desc\"`.",
"isGlobal": false
},
{
"key": "iconDirectionAsc",
"className": "MuiTableSortLabel-iconDirectionAsc",
"description": "Styles applied to the icon component if `direction=\"asc\"`.",
"isGlobal": false,
"isDeprecated": true
},
{
"key": "iconDirectionDesc",
"className": "MuiTableSortLabel-iconDirectionDesc",
"description": "Styles applied to the icon component if `direction=\"desc\"`.",
"isGlobal": false,
"isDeprecated": true
}
],
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiTableSortLabel",
"forwardsRefTo": "HTMLSpanElement",
"filename": "/packages/mui-material/src/TableSortLabel/TableSortLabel.js",
"inheritance": { "component": "ButtonBase", "pathname": "/material-ui/api/button-base/" },
"demos": "<ul><li><a href=\"/material-ui/react-table/\">Table</a></li></ul>",
"cssComponent": false
}