Props applied to the TouchRipple
element.
A ref for imperative actions.
It currently only supports focusVisible()
action.
If true
, the ripples will be centered.
They won't start at the cursor interaction position.
The content of the button.
Override or extend the styles applied to the component.
The color of the component. It supports those theme colors that make sense for this component.
If true
, the keyboard focus ripple will be disabled.
If true
, the ripple effect will be disabled.
When true, FAB will not have a Tooltip on hover
If true
, the touch ripple effect will be disabled.
If true
, the button will be disabled.
If true
, the base button will have a keyboard focus ripple.
This prop can help identify which element has keyboard focus.
The class name will be applied when the element gains the focus through keyboard interaction.
It's a polyfill for the CSS :focus-visible selector.
The rationale for using this feature is explained here.
A polyfill can be used to apply a focus-visible
class to other components
if needed.
The URL to link to when the button is clicked.
If defined, an a
element will be used as the root node.
Callback fired when the component is focused with a keyboard.
We trigger a onFocus
callback too.
The size of the button.
small
is equivalent to the dense button styling.
The content to put in the on-hover tooltip
The variant to use. 'round' is deprecated, use 'circular' instead.
Generated using TypeDoc
Props applied to the
Tooltip
element