EDS4 logo
@eds/toast
v4.1.2

Toast

A brief notification that doesn't disrupt or require an action.
Prop
Required
Description
Type
tone

Different tone styles for the Toast.

"positive" | "critical"
message

string
hasCloseButton

Whether or not to show the close X icon button. Defaults to true.

boolean
linkText

Text to show as the link. Note: this must accompany a linkHref string.

string
linkHref

href to navigate to on click of the link. Note: this must accompany a linkText string.

string
buttonText

Text to show on the button. Note: this must accompany an onClickButton function.

string
onClickButton

Callback to run on click of the button. Note: this must accompany an buttonText string.

() => void
Prop
Required
Description
Type
Prop
Required
Description
Type