Skip to content

Commit 1ed8c8e

Browse files
authored
Update use-toaster.mdx
1 parent 2b8f7c1 commit 1ed8c8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/pages/docs/use-toaster.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default ({ children, meta }) => <Layout meta={meta}>{children}</Layout>;
99

1010
# `useToaster()` API
1111

12-
Create your own notifications with **headless mode**. It will provide you with the current state, so you can render on own components. Tree shaking is supported, so you won't ship any styles included in the library.
12+
Create your own notification system with **headless mode**. The `useToaster()` hook will manage the notification state for you. This includes keeping track of all toast created with [`toast()`](/docs/toast), auto-dimiss, pause on hover and an unmount delay for exit animations. The hook will provide you with the current state, so you can render on own components. Tree shaking is supported, so you won't ship any unused styles from library.
1313

1414
It's recommended to only have one `<Toaster/>` or `useToaster()` in your app at a time. If you need the current state without the handlers, you should use [`useToasterStore()`](/docs/use-toaster-store) instead.
1515

0 commit comments

Comments
 (0)