Adaptable

AlertButton

Declared in src/modules/alert/State.ts

#Properties

9 props

#actionsAlertAction[]

#disabled((context: CONTEXT) => boolean) | boolean

#hidden((context: CONTEXT) => boolean) | boolean

#icon((context: CONTEXT) => IconName) | IconName

#labelrequired((context: CONTEXT) => string) | string

#onClickAdaptableButton<AlertFormContext>['onClick']

resolves to (context: AlertFormContext) => void

#tone((context: CONTEXT) => ButtonProps['tone']) | ButtonProps['tone']

resolves to "info" | "none" | "success" | "warning" | "error" | "accent" | "default" | "neutral" | ((context: CONTEXT) => "info" | "none" | "success" | "warning" | "error" | "accent" | "default" | "neutral" | undefined) | undefined

#tooltip((context: CONTEXT) => string) | string

#variant((context: CONTEXT) => ButtonProps['variant']) | ButtonProps['variant']

resolves to "text" | "outlined" | "contained" | ((context: CONTEXT) => "text" | "outlined" | "contained" | undefined) | undefined

#Used by