import React from 'react';
import type { ToastProps } from './toast';
export type ToastContextData = null | ((toast: ToastProps) => void);
export const ToastContext = React.createContext<ToastContextData>(null);