Toast

A succinct message that is displayed temporarily.

Event created

Sunday, August 28

Installation

npx ghost-ui-native add toast

Usage

import { ToastProvider, useToast } from '@/components/ui/toast';
const { toast } = useToast()

toast({ title: 'Saved', description: 'Your changes have been saved.' })

Notes

  • Wrap your app with ToastProvider (included in GhostUIProvider).