【发布时间】:2021-08-24 05:37:10
【问题描述】:
如何更改材质ui快速拨号按钮,显然它使用了Fab默认,你所能做的就是更改图标,但我还需要添加一个文本,例如:
<Fab variant="extended">
<NavigationIcon />
Actions
</Fab>
【问题讨论】:
标签: button material-ui frontend customization speed-dial
如何更改材质ui快速拨号按钮,显然它使用了Fab默认,你所能做的就是更改图标,但我还需要添加一个文本,例如:
<Fab variant="extended">
<NavigationIcon />
Actions
</Fab>
【问题讨论】:
标签: button material-ui frontend customization speed-dial
SpeedDialAction
<SpeedDialAction
key={action.name}
icon={action.icon} // here goes your icon
tooltipTitle={action.name} // here goes your text
tooltipOpen
onClick={handleClose}
/>
<Fab
aria-label={fab.label}
className={fab.className}
color={fab.color}
>
{fab.icon}
</Fab>
请让我知道它是否适合您)
【讨论】: