This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
Open
Description
Subject
Toast
Description
Currently, the only example given in the documentation doesn't show how to use the result of the resolved promise in the Toast.
However, looking in https://github.com/marek-sed/chakra-ui/blob/fec70fbab9a548d0644c8da6b8e629b9ccc62f87/packages/toast/test/use-toast.test.tsx#L95, it can be seen that there are callback functions that can be passed in success
and error
, and not just the options object.