UIPackage React Native
Search
Menu

Toast

Toast aliases over the timed Snackbar notification contract, including optional actions.

Install

First install? Set up the registry in your app.

npx --yes --package=https://native.uipkge.dev/cli/uipkge-native-0.1.1.tgz uipkge-native add toast

Source files

Expand a file to read the source the installer copies into your app.

components/ui/toast/Toast.tsx
/** Toast uses the same timed, non-modal notification contract as Snackbar. */
export { Snackbar as Toast, SnackbarAction as ToastAction } from '@/components/ui/snackbar'
export type { SnackbarProps as ToastProps } from '@/components/ui/snackbar'
components/ui/toast/index.ts
export * from './Toast'

Dependencies

Registry items

Browse overlays and feedback