Components
Buttons providing easy access to important actions.
| Version: | 14.18.2 •View source•Changelog•Report issue | |
|---|---|---|
| Install: | yarn add @thumbtack/thumbprint-react | |
| Import: | import { TextFab, IconFab } from '@thumbtack/thumbprint-react'; | |
childrenChildren content to render.
React.ReactNodethemeTheme that decides the style of the button.
This prop can be one of the following 2 types:
'primary''secondary''primary'onClickFunction that will run when the fab is clicked on.
() => voidaccessibilityLabelDescription of the fab content. It is required if the link contains an icon and no descriptive text.
stringiconIcon from Thumbprint Icons to render within the button. It must be one of the
medium icons.
React.ReactNodethemeTheme that decides the style of the button.
This prop can be one of the following 2 types:
'primary''secondary''primary'onClickFunction that will run when the fab is clicked on.
() => voidaccessibilityLabelDescription of the fab content. It is required if the link contains an icon and no descriptive text.
string