UNPKG

433 BTypeScriptView Raw
1import * as React from "react";
2import type { ToastProps } from "./toastProps";
3/**
4 * Toast2 component.
5 *
6 * Compared to the deprecated `Toast` component, this is a function component which forwards DOM
7 * refs and is thus compatible with `Overlay2`.
8 *
9 * @see https://blueprintjs.com/docs/#core/components/toast2
10 */
11export declare const Toast2: React.ForwardRefExoticComponent<ToastProps & React.RefAttributes<HTMLDivElement>>;