-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Toast behaviorRelated with the implementation of toast behaviorRelated with the implementation of toast behaviorV0.1 releaseWill be included in V0.1 releaseWill be included in V0.1 releaseenhancementNew feature or requestNew feature or requesthacktoberfeston hold
Description
Description
It will nice if we can add as a property of the hook the duration in milliseconds or false value to auto-close the toast.
const { onOpen } = useToast(<CustomToast />, { autoClose: 500 });in which:
autoCloseindicates the milliseconds that the toast will open whenonOpenfunction invoked- To default
autoCloseisfalse, this indicates that we need to invokeonCloseto close the modal
Metadata
Metadata
Assignees
Labels
Toast behaviorRelated with the implementation of toast behaviorRelated with the implementation of toast behaviorV0.1 releaseWill be included in V0.1 releaseWill be included in V0.1 releaseenhancementNew feature or requestNew feature or requesthacktoberfeston hold