diff options
author | Ana <anastasiyauraleva@gmail.com> | 2025-07-30 00:14:28 -0700 |
---|---|---|
committer | Ana <anastasiyauraleva@gmail.com> | 2025-07-30 00:25:17 -0700 |
commit | f472c7f540840df7d98af22719742944e70ccfa2 (patch) | |
tree | 9bb1f81948b12f0244b488a9959ab0f347df3495 /src/view/screens | |
parent | 67ba92fa624f8edb2878fe65ac19439dff042c29 (diff) | |
download | voidsky-f472c7f540840df7d98af22719742944e70ccfa2.tar.zst |
update sorting
Diffstat (limited to 'src/view/screens')
-rw-r--r-- | src/view/screens/Storybook/Toasts.tsx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/view/screens/Storybook/Toasts.tsx b/src/view/screens/Storybook/Toasts.tsx index 5197ec2f4..da0f1c416 100644 --- a/src/view/screens/Storybook/Toasts.tsx +++ b/src/view/screens/Storybook/Toasts.tsx @@ -1,13 +1,13 @@ -import {View, Pressable} from 'react-native' +import {Pressable,View} from 'react-native' -import {atoms as a, useTheme} from '#/alf' -import {Text, H1} from '#/components/Typography' +import * as Toast from '#/view/com/util/Toast' import { - type ToastType, - TOAST_TYPE_TO_ICON, getToastTypeStyles, + TOAST_TYPE_TO_ICON, + type ToastType, } from '#/view/com/util/Toast.style' -import * as Toast from '#/view/com/util/Toast' +import {atoms as a, useTheme} from '#/alf' +import {H1,Text} from '#/components/Typography' function ToastPreview({message, type}: {message: string; type: ToastType}) { const t = useTheme() @@ -16,7 +16,7 @@ function ToastPreview({message, type}: {message: string; type: ToastType}) { const IconComponent = TOAST_TYPE_TO_ICON[type] return ( - <Pressable + <Pressable accessibilityRole="button" onPress={() => Toast.show(message, type)} style={[ {backgroundColor: colors.backgroundColor}, |