Files
react-test/docs/pages/material-ui/api/speed-dial-action.json

127 lines
5.4 KiB
JSON
Raw Normal View History

2025-12-12 14:26:25 +09:00
{
"props": {
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"delay": { "type": { "name": "number" }, "default": "0" },
"FabProps": {
"type": { "name": "object" },
"default": "{}",
"deprecated": true,
"deprecationInfo": "Use <code>slotProps.fab</code> instead. This prop will be removed in a future major release. See <a href=\"/material-ui/migration/migrating-from-deprecated-apis/\">Migrating from deprecated APIs</a> for more details."
},
"icon": { "type": { "name": "node" } },
"id": { "type": { "name": "string" } },
"open": { "type": { "name": "bool" } },
"slotProps": {
"type": {
"name": "shape",
"description": "{ fab?: func<br>&#124;&nbsp;object, staticTooltip?: func<br>&#124;&nbsp;object, staticTooltipLabel?: func<br>&#124;&nbsp;object, tooltip?: func<br>&#124;&nbsp;object }"
},
"default": "{}"
},
"slots": {
"type": {
"name": "shape",
"description": "{ fab?: elementType, staticTooltip?: elementType, staticTooltipLabel?: elementType, tooltip?: 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 }
},
"TooltipClasses": {
"type": { "name": "object" },
"deprecated": true,
"deprecationInfo": "Use <code>slotProps.tooltip.classes</code> instead. This prop will be removed in a future major release. See <a href=\"/material-ui/migration/migrating-from-deprecated-apis/\">Migrating from deprecated APIs</a> for more details."
},
"tooltipOpen": {
"type": { "name": "bool" },
"default": "false",
"deprecated": true,
"deprecationInfo": "Use <code>slotProps.tooltip.open</code> instead. This prop will be removed in a future major release. See <a href=\"/material-ui/migration/migrating-from-deprecated-apis/\">Migrating from deprecated APIs</a> for more details."
},
"tooltipPlacement": {
"type": {
"name": "enum",
"description": "'auto-end'<br>&#124;&nbsp;'auto-start'<br>&#124;&nbsp;'auto'<br>&#124;&nbsp;'bottom-end'<br>&#124;&nbsp;'bottom-start'<br>&#124;&nbsp;'bottom'<br>&#124;&nbsp;'left-end'<br>&#124;&nbsp;'left-start'<br>&#124;&nbsp;'left'<br>&#124;&nbsp;'right-end'<br>&#124;&nbsp;'right-start'<br>&#124;&nbsp;'right'<br>&#124;&nbsp;'top-end'<br>&#124;&nbsp;'top-start'<br>&#124;&nbsp;'top'"
},
"default": "'left'",
"deprecated": true,
"deprecationInfo": "Use <code>slotProps.tooltip.placement</code> instead. This prop will be removed in a future major release. See <a href=\"/material-ui/migration/migrating-from-deprecated-apis/\">Migrating from deprecated APIs</a> for more details."
},
"tooltipTitle": {
"type": { "name": "node" },
"deprecated": true,
"deprecationInfo": "Use <code>slotProps.tooltip.title</code> instead. This prop will be removed in a future major release. See <a href=\"/material-ui/migration/migrating-from-deprecated-apis/\">Migrating from deprecated APIs</a> for more details."
}
},
"name": "SpeedDialAction",
"imports": [
"import SpeedDialAction from '@mui/material/SpeedDialAction';",
"import { SpeedDialAction } from '@mui/material';"
],
"slots": [
{
"name": "fab",
"description": "The component that renders the fab.",
"default": "Fab",
"class": "MuiSpeedDialAction-fab"
},
{
"name": "tooltip",
"description": "The component that renders the tooltip.",
"default": "Tooltip",
"class": null
},
{
"name": "staticTooltip",
"description": "The component that renders the static tooltip.",
"default": "'span'",
"class": "MuiSpeedDialAction-staticTooltip"
},
{
"name": "staticTooltipLabel",
"description": "The component that renders the static tooltip label.",
"default": "'span'",
"class": "MuiSpeedDialAction-staticTooltipLabel"
}
],
"classes": [
{
"key": "fabClosed",
"className": "MuiSpeedDialAction-fabClosed",
"description": "Styles applied to the Fab component if `open={false}`.",
"isGlobal": false
},
{
"key": "staticTooltipClosed",
"className": "MuiSpeedDialAction-staticTooltipClosed",
"description": "Styles applied to the root element if `tooltipOpen={true}` and `open={false}`.",
"isGlobal": false
},
{
"key": "tooltipPlacementLeft",
"className": "MuiSpeedDialAction-tooltipPlacementLeft",
"description": "Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement=\"left\"``",
"isGlobal": false
},
{
"key": "tooltipPlacementRight",
"className": "MuiSpeedDialAction-tooltipPlacementRight",
"description": "Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement=\"right\"``",
"isGlobal": false
}
],
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiSpeedDialAction",
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-material/src/SpeedDialAction/SpeedDialAction.js",
"inheritance": { "component": "Tooltip", "pathname": "/material-ui/api/tooltip/" },
"demos": "<ul><li><a href=\"/material-ui/react-speed-dial/\">Speed Dial</a></li></ul>",
"cssComponent": false
}