Skip to content

Commit

Permalink
docs: more renaming to sonner
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnartorfis committed Sep 8, 2024
1 parent 1a4b450 commit 1deb222
Showing 1 changed file with 44 additions and 44 deletions.
88 changes: 44 additions & 44 deletions docs/docs/sonner.md
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
# Comparison with Sonner
# Comparison with Sonner web

## toast():

| Property | Reanimated Toasts | Sonner |
| :----------------- | ----------------- | ------ |
| description | | |
| closeButton | | |
| invert | | |
| important | | |
| duration | | |
| position | | |
| dismissible | | |
| icon | | |
| action | | |
| id | | |
| onDismiss | | |
| onAutoClose | | |
| unstyled | | |
| actionButtonStyles | | |
| cancelButtonStyles | | |
| cancel | | |
| action as JSX | | |
| loading | | |
| Headless | | |
| Dynamic position | | |
| important | | |
| warning variant | | |
| Property | Sonner Native | Sonner Web |
| :----------------- | ------------- | ---------- |
| description || |
| closeButton || |
| invert || |
| important || |
| duration || |
| position || |
| dismissible || |
| icon || |
| action || |
| id || |
| onDismiss || |
| onAutoClose || |
| unstyled || |
| actionButtonStyles || |
| cancelButtonStyles || |
| cancel || |
| action as JSX || |
| loading || |
| Headless || |
| Dynamic position || |
| important || |
| warning variant || |

## Toaster:

| Property | Reanimated Toasts | Sonner |
| :----------------------- | ----------------- | ------ |
| theme | | |
| visibleToasts | | |
| position | | |
| closeButton | | |
| invert | | |
| toastOptions | | |
| gap | | |
| icons | | |
| `swipToDismissDirection` | | |
| dir | | |
| richColors | | |
| expand | 🕸️ | |
| offset | | |
| hotkey | 🕸️ | |
| loadingIcon | | |
| pauseWhenPageIsHidden | | |
| cn | | |
| Property | Sonner Native | Sonner Web |
| :----------------------- | ------------- | ---------- |
| theme || |
| visibleToasts || |
| position || |
| closeButton || |
| invert || |
| toastOptions || |
| gap || |
| icons || |
| `swipToDismissDirection` || |
| dir || |
| richColors || |
| expand | 🕸️ | |
| offset || |
| hotkey | 🕸️ | |
| loadingIcon || |
| pauseWhenPageIsHidden || |
| cn || |

**🕸️: Not applicable for native apps.**

0 comments on commit 1deb222

Please sign in to comment.