Skip to main content

Interface: ToastProps

Properties

className

Optional className: string


colorScheme

Optional colorScheme: "dark" | "light"


enhanceStart

Optional enhanceStart: ReactNode


isClickable

Optional isClickable: boolean


isDanger

Optional isDanger: boolean


isDisplayed

isDisplayed: boolean


message

message: ReactNode


onDismiss

Optional onDismiss: () => void

Type declaration

▸ (): void

Returns

void


position

Optional position: "topCenter" | "bottomCenter"


timeout

Optional timeout: number