Skip to content

Commit

Permalink
docs: update library docs + fix provider document
Browse files Browse the repository at this point in the history
  • Loading branch information
pheralb committed Jul 15, 2024
1 parent dbad94c commit f973cbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions library/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
- [x] 🏗️ Customizable toast position.
- [x] 💙 Built completely with Typescript.

## 🙂 Inspiration
## Inspiration

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

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

ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<ToastProvider position="bottom-right">
<ToastProvider>
<App />
</ToastProvider>
</React.StrictMode>,
Expand Down
2 changes: 1 addition & 1 deletion website/app/routes/provider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The `<ToastProvider />` component is used to wrap your application and provide t

## Position

You can customize the position of the toasts by using the `position` prop of the `ToastProvider` component:
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:

<Positions />

Expand Down

0 comments on commit f973cbd

Please sign in to comment.