Skip to content

Commit

Permalink
Fixed version 2.x documentation typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mafzal91 authored Jun 3, 2023
1 parent 031a99c commit 2d99082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/pages/docs/version-2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ You can now use the [`<Toaster/>`](/docs/toaster#using-a-custom-render-function)

This is a great alternative if you are using [`useToaster()`](/docs/use-toaster) to render create custom notfications.

This API allows us to dynamically react to to current state our toasts. This can be used to **change the default animations**, add **a custom dismiss button** or render a custom notification, like [TailwindUI Notifications](https://tailwindui.com/components/application-ui/overlays/notifications).
This API allows us to dynamically react to the current state of your toasts. This can be used to **change the default animations**, add **a custom dismiss button** or render a custom notification, like [TailwindUI Notifications](https://tailwindui.com/components/application-ui/overlays/notifications).

```jsx
import { toast, Toaster, ToastBar } from 'react-hot-toast';
Expand Down

0 comments on commit 2d99082

Please sign in to comment.