Skip to content

Commit fa39669

Browse files
author
Jostein Kringlen
committed
feat: add toast.warn() fn
1 parent 225514f commit fa39669

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/toast.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ toast.error = createHandler('error');
4848
toast.success = createHandler('success');
4949
toast.loading = createHandler('loading');
5050
toast.custom = createHandler('custom');
51+
toast.warn = createHandler('warn');
5152

5253
toast.dismiss = (toastId?: string) => {
5354
dispatch({

0 commit comments

Comments
 (0)