Button options for icon buttons with navigation

Hierarchy

Properties

className?: string

Optional class

customIcon?: ReactNode

Optional custom icon. When provided, icon property is ignored.

dataTestId?: string

Optional data-test-id

disabled?: boolean

Whether the button is disabled. If set to true, disallows interactions. (default: undefined)

height?: string | number

Button's height

icon?: IconName

Optional icon

onBlur?: undefined
onButtonClicked?: undefined

Event to raise when the button is clicked

openInNewTab?: boolean

If set to true, the link will open in a new tab.

path: LocationDescriptor<unknown>

Where to navigate to when the action is clicked.

width?: string | number

Button's width

Generated using TypeDoc