UNPKG

@payfit/unity-components

Version:

9 lines (8 loc) 387 B
import { PropsWithChildren } from 'react'; type ToastContextValue = { inline: boolean; }; export declare const ToastContext: import('react').Context<ToastContextValue>; export declare function ToastProvider({ inline, children, }: PropsWithChildren<ToastContextValue>): import("react/jsx-runtime").JSX.Element; export declare function useToastContext(): ToastContextValue; export {};