Button options for composite buttons (text + icon) 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

iconPosition?: "left" | "right"

Optional Icon Position

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.

text?: string

Button text

width?: string | number

Button's width

Generated using TypeDoc