toast({ title: error.message, // required description: error.description, // optional.no defaults preset: 'error', // optional. defaults to "info" showClose: false, // optional. defaults to false timeout: 5000, // optional. defaults to 5000 icon: // optional. defaults to "info" icon. can also have none/empty. startSlot: // optional. overrides icon. can be used for adding custom icons, emojis, or even images. timestamp: // optional. defaults to empty/none. })
Last active
October 6, 2022 08:18
-
-
Save zeshhaan/3ba2ae441c738cb39bf981726cd9410d to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment