Props
interface TextButtonProps extends TooltipAnchorProps<HTMLSpanElement>, AriaProps, TextButtonStyleProps
aria-selected | undefined | false | true The |
children | React.ReactNode | string The contents of the button. |
className | undefined | string Additional class names to apply, separated by spaces. |
dataAttributes | DataAttributesProp Data attributes that are spread onto the element, e.g. |
disabled | undefined | false | true Indicates whether or not the user can interact with the button. |
icon | IconName | ReactElement The name of the icon or a react node. For more details, see the list of supported icons. |
id | undefined | string The |
onClick | undefined | Click event handler. Also handles Space and Enter keypress events. |
size | TextSizeProp The size of the button. Defaults to |
style | React.CSSProperties Additional styles. |
tabIndex | undefined | number The |
variant | TextButtonVariant The variant of the button, which defines the color. Defaults to |