Skip to content

Commit

Permalink
Merge pull request #285 from mafzal91/patch-1
Browse files Browse the repository at this point in the history
Fixed version 2.x documentation typo
  • Loading branch information
timolins authored Jul 29, 2023
2 parents 031a99c + 2d99082 commit 1713dd3
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

1 comment on commit 1713dd3

@vercel
Copy link

@vercel vercel bot commented on 1713dd3 Jul 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.