osstotalsoft / rocket-ui-ts

A collection of reusable and composable React components written in TypeScript built on top of Material UI Core V5
MIT License
19 stars 4 forks source link

useToast does not allow configuring the autoClose option on error messages #58

Closed adrianchircats closed 1 year ago

adrianchircats commented 1 year ago

Latest version

Description

AutoClose option among others cannot be configured on error toasts.

Examples

case 'error': toast.error(message, { ...options, autoClose: false, closeOnClick: false, draggable: false })