UNPKG

228 BTypeScriptView Raw
1import * as React from 'react';
2export interface ToastContextType {
3 onClose?: (e?: React.MouseEvent | React.KeyboardEvent) => void;
4}
5declare const ToastContext: React.Context<ToastContextType>;
6export default ToastContext;