Skip to content

Commit

Permalink
Add missing import to example
Browse files Browse the repository at this point in the history
  • Loading branch information
timolins committed Sep 5, 2021
1 parent 63b5419 commit fbb2612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/pages/docs/toast-bar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ You can add a **render function to the ToastBar to modify its content**. An obje
In this example we add a basic dismiss button to all toasts, except if the loading one.

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

<Toaster>
{(t) => (
Expand Down

1 comment on commit fbb2612

@vercel
Copy link

@vercel vercel bot commented on fbb2612 Sep 5, 2021

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.