UNPKG

@kwiz/fluentui

Version:

KWIZ common controls for FluentUI

19 lines (18 loc) 488 B
import { ToastIntent } from "@fluentui/react-components"; export declare function useToast(): { control: import("react/jsx-runtime").JSX.Element; dispatch: (info: { title?: string; body?: string; subtitle?: string; titleAction?: { text: string; onClick: () => void; }; footerActions?: { text: string; onClick: () => void; }[]; intent?: ToastIntent; }) => void; };