Skip to content

Commit f973cbd

Browse files
committed
docs: update library docs + fix provider document
1 parent dbad94c commit f973cbd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

library/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
- [x] 🏗️ Customizable toast position.
4646
- [x] 💙 Built completely with Typescript.
4747

48-
## 🙂 Inspiration
48+
## Inspiration
4949

50-
- [x] Design by [**Medusa.js UI** Notifications](https://medusajs.com).
50+
- [x] 🎨 Notification Design by [**Medusa.js UI** Framework](https://medusajs.com/framework/).
5151
- [x] 🛠️ Typescript API by [**Sonner**](https://sonner.emilkowal.ski).
5252

5353
## 🚀 Getting Started
@@ -76,7 +76,7 @@ import { ToastProvider } from '@pheralb/toast';
7676

7777
ReactDOM.createRoot(document.getElementById('root')!).render(
7878
<React.StrictMode>
79-
<ToastProvider position="bottom-right">
79+
<ToastProvider>
8080
<App />
8181
</ToastProvider>
8282
</React.StrictMode>,

website/app/routes/provider.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The `<ToastProvider />` component is used to wrap your application and provide t
1414

1515
## Position
1616

17-
You can customize the position of the toasts by using the `position` prop of the `ToastProvider` component:
17+
By default, the default position is `bottom-right`. You can customize the position of the toasts by using the `position` prop of the `ToastProvider` component:
1818

1919
<Positions />
2020

0 commit comments

Comments
 (0)