Here I can find success and error but not warning.
Good to have warning type
Good to have header for error message
Good to implement close all error message if we have more than one
Good to pass additional values with success, warning, custom etc.. If we implement our own wrapper, This will be useful. Now I am sending additional params like
toast.success('This is success message', {
heading: 'Heading text',
} as any);
toast('This is warning message', { type: 'warning' } as any);
Here I can find success and error but not warning.
toast('This is warning message', { type: 'warning' } as any);