ToastOptions
ToastOptions(title, description, variantColor, id, isClosable, position, duration)
Determines format of the toast.
Parameters
-
title
typestring
Toast title -
description
typestring
Toast description -
variantColor
typestring
Color of the toast
Key ofToastVariantColor
-
id
typestring
|number
Toast Id -
isClosable
typeboolean
If true, the toast can be closed -
position
typestring
Position of the toast on the screen
Key ofToastPosition
-
duration
typenumber
Duration of the toast on the screen