DaffToastAction

An interface for properties of actions, specifically the DaffButtonComponent, placed inside of the toast.

Properties

Name Type Description
type 'raised' | 'underline' | 'stroked' | 'flat' | undefined The types of buttons available to be used, as defined in the DaffButtonComponent.
content string The text for the button
size 'sm' | 'md' | 'lg' | undefined The size of the button, as defined in the DaffButtonComponent.
color DaffPalette The color of the button, as defined in the DaffButtonComponent. Color and status should not be used simultaneously.
status DaffStatus The status of the button, as defined in the DaffButtonComponent. Color and status should not be used simultaneously.
data Record<string, any>
eventEmitter EventEmitter<DaffToastAction> Sets an EventEmitter on a DaffToastAction
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.