TapProps
Extends
Section titled “Extends”TapProps
Properties
Section titled “Properties”| Property | Type | Default value | Description |
|---|---|---|---|
children |
ReactNode |
undefined |
One Icon. |
className? |
string |
undefined |
An override that shows in the diff. |
label |
string |
undefined |
The accessible name. A Tap shows an icon, not text. |
onRelease? |
() => void |
undefined |
Called as the finger or the button that pressed it lets go, slides off, or the browser takes the touch: what a held control, a sprint or a block, ends on. |
onTap |
() => void |
undefined |
Called once for each press. |
slot? |
Slot |
Slot.BottomRight |
The slot it stands in. |