{
"componentDescription": "A button based label for placing inside `TableCell` for column sorting.",
"propDescriptions": {
"active": {
"description": "If true, the label will have the active styling (should be true for the sorted column)."
},
"children": { "description": "Label contents, the arrow will be appended automatically." },
"classes": { "description": "Override or extend the styles applied to the component." },
"direction": { "description": "The current sort direction." },
"hideSortIcon": { "description": "Hide sort icon when active is false." },
"IconComponent": { "description": "Sort icon to use." },
"slotProps": { "description": "The props used for each slot inside." },
"slots": { "description": "The components used for each slot inside." },
"sx": {
"description": "The system prop that allows defining system overrides as well as additional CSS styles."
}
},
"classDescriptions": {
"active": {
"description": "State class applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "active={true}"
},
"directionAsc": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "direction=\"asc\""
},
"directionDesc": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the root element",
"conditions": "direction=\"desc\""
},
"iconDirectionAsc": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the icon component",
"conditions": "direction=\"asc\"",
"deprecationInfo": "Combine the .MuiTableSortLabel-icon and .MuiTableSortLabel-directionAsc classes instead. See Migrating from deprecated APIs for more details."
},
"iconDirectionDesc": {
"description": "Styles applied to {{nodeName}} if {{conditions}}.",
"nodeName": "the icon component",
"conditions": "direction=\"desc\"",
"deprecationInfo": "Combine the .MuiTableSortLabel-icon and .MuiTableSortLabel-directionDesc classes instead. See Migrating from deprecated APIs for more details."
}
},
"slotDescriptions": {
"icon": "The component that renders the icon slot.",
"root": "The component that renders the root slot."
}
}