diff options
author | Eric Bailey <git@esb.lol> | 2025-08-26 11:20:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-26 11:20:04 -0500 |
commit | 8ec20026c042e1f26224ef2967dad6f0386e1eca (patch) | |
tree | 751add9e13a9c631724cc1c7ec120bdbc4f3a318 /src/components/Toast/sonner | |
parent | acd7211b357f2bfc74bf0828994e12f0c41d39d5 (diff) | |
download | voidsky-8ec20026c042e1f26224ef2967dad6f0386e1eca.tar.zst |
Yeah toast (#8878)
* Split out into macro component * Add Action component * Add fallback * add button to view post after sending * Dismiss toast when clicking action button --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
Diffstat (limited to 'src/components/Toast/sonner')
-rw-r--r-- | src/components/Toast/sonner/index.ts | 3 | ||||
-rw-r--r-- | src/components/Toast/sonner/index.web.ts | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/components/Toast/sonner/index.ts b/src/components/Toast/sonner/index.ts new file mode 100644 index 000000000..35f8552c7 --- /dev/null +++ b/src/components/Toast/sonner/index.ts @@ -0,0 +1,3 @@ +import {toast} from 'sonner-native' + +export const dismiss = toast.dismiss diff --git a/src/components/Toast/sonner/index.web.ts b/src/components/Toast/sonner/index.web.ts new file mode 100644 index 000000000..12c4741d6 --- /dev/null +++ b/src/components/Toast/sonner/index.web.ts @@ -0,0 +1,3 @@ +import {toast} from 'sonner' + +export const dismiss = toast.dismiss |