UNPKG

@phonehtut/react-native-sonner

Version:

A simple and customizable toast notification system for React Native applications

11 lines (10 loc) 315 B
import { ToastType } from './types'; interface ToastItemProps { id: string; message: string; type?: ToastType; onHide: (id: string) => void; duration?: number; } export declare function ToastItem({ id, message, type, onHide, duration, }: ToastItemProps): import("react").JSX.Element; export {};