UNPKG

@blueprintjs/core

Version:

Core styles & components

12 lines (11 loc) 433 B
import * as React from "react"; import type { ToastProps } from "./toastProps"; /** * Toast2 component. * * Compared to the deprecated `Toast` component, this is a function component which forwards DOM * refs and is thus compatible with `Overlay2`. * * @see https://blueprintjs.com/docs/#core/components/toast2 */ export declare const Toast2: React.ForwardRefExoticComponent<ToastProps & React.RefAttributes<HTMLDivElement>>;