Skip to content

Commit

Permalink
docs: update index + options - animationOnClose
Browse files Browse the repository at this point in the history
  • Loading branch information
pheralb committed Jan 20, 2025
1 parent c69d530 commit dd15f24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/src/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ category: "Introduction"

2. Add the toast provider:

```jsx
```jsx {8}
// 📃 main.tsx

import { Toaster } from '@pheralb/toast';
Expand Down
2 changes: 1 addition & 1 deletion website/src/docs/options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ import { Info, CircleX, CircleAlert, CircleCheck, Loader } from "lucide-react";
## `animationOnClose`

By default, the animation when closing a toast is `default` (`slide-down`). You can change this value using the `animationOnClose` property:
By default, the animation when closing a toast is `slide` (`slide-down` or `slide-up`). You can change this value using the `animationOnClose` property:

<ToastAnimation />

Expand Down

0 comments on commit dd15f24

Please sign in to comment.