import { Toast, useToastState } from '@tamagui/toast' import { XStack, YStack } from 'tamagui' export const CustomToast = () => { const currentToast = useToastState() if (!currentToast || currentToast.isHandledNatively) { return null } return ( {currentToast.title} {/* */} {!!currentToast.message && {currentToast.message}} ) }