Skip to main content
Version: Next

ButtonProps

Home > @backstage/canon > ButtonProps

Properties for Button

Signature:

export interface ButtonProps 

Properties

Property

Modifiers

Type

Description

children

React.ReactNode

disabled?

boolean

(Optional)

iconEnd?

IconNames

(Optional)

iconStart?

IconNames

(Optional)

size?

'small' | 'medium' | Partial<Record<Breakpoint, 'small' | 'medium'>>

(Optional)

variant?

'primary' | 'secondary' | 'tertiary' | Partial<Record<Breakpoint, 'primary' | 'secondary' | 'tertiary'>>

(Optional)