Skip to content

Commit dd15f24

Browse files
committed
docs: update index + options - animationOnClose
1 parent c69d530 commit dd15f24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/src/docs/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ category: "Introduction"
2020

2121
2. Add the toast provider:
2222

23-
```jsx
23+
```jsx {8}
2424
// 📃 main.tsx
2525

2626
import { Toaster } from '@pheralb/toast';

website/src/docs/options.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ import { Info, CircleX, CircleAlert, CircleCheck, Loader } from "lucide-react";
5454
5555
## `animationOnClose`
5656

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

5959
<ToastAnimation />
6060

0 commit comments

Comments
 (0)