UNPKG

@apideck/file-picker

Version:

A React file picker component that works with the Apideck [File Storage API](https://developers.apideck.com/apis/file-storage/reference).

12 lines (11 loc) 361 B
import { ReactNode } from 'react'; import { Toast } from '../types/Toast'; interface ContextProps { addToast: (toast: Toast) => void; removeToast: (id: number | undefined) => void; } export declare const ToastProvider: ({ children }: { children: ReactNode; }) => JSX.Element; export declare const useToast: () => ContextProps; export {};