From c13b1374d7ff25b913405b96cc568dce6c929be0 Mon Sep 17 00:00:00 2001 From: Ana Date: Mon, 28 Jul 2025 20:22:58 -0700 Subject: add: toasts to storybook --- src/view/screens/Storybook/Toasts.tsx | 69 +++++++++++++++++++++++++++++++++++ src/view/screens/Storybook/index.tsx | 2 + 2 files changed, 71 insertions(+) create mode 100644 src/view/screens/Storybook/Toasts.tsx (limited to 'src') diff --git a/src/view/screens/Storybook/Toasts.tsx b/src/view/screens/Storybook/Toasts.tsx new file mode 100644 index 000000000..714afdfbd --- /dev/null +++ b/src/view/screens/Storybook/Toasts.tsx @@ -0,0 +1,69 @@ +import {View} from 'react-native' + +import {atoms as a} from '#/alf' +import {Button, ButtonText} from '#/components/Button' +import {H1} from '#/components/Typography' +import * as Toast from '#/view/com/util/Toast' +import * as ToastHelpers from '#/view/com/util/ToastHelpers' + +export function Toasts() { + return ( + +

Toasts

+ + + + + + + + + + + + +
+ ) +} diff --git a/src/view/screens/Storybook/index.tsx b/src/view/screens/Storybook/index.tsx index a6c2ecdde..afcc1c4e7 100644 --- a/src/view/screens/Storybook/index.tsx +++ b/src/view/screens/Storybook/index.tsx @@ -20,6 +20,7 @@ import {Settings} from './Settings' import {Shadows} from './Shadows' import {Spacing} from './Spacing' import {Theming} from './Theming' +import {Toasts} from './Toasts' import {Typography} from './Typography' export function Storybook() { @@ -122,6 +123,7 @@ function StorybookInner() { +