UNPKG

fannypack-v5

Version:

An accessible, composable, and friendly React UI Kit

13 lines (12 loc) 301 B
import * as React from 'react'; export declare const ToastContext: React.Context<{ toasts: any[]; }>; declare type Props = { children: React.ReactNode; }; export declare function ToastProvider(props: Props): JSX.Element; export declare function useToasts(): { toasts: any[]; }; export {};