react-simple-toasts
Version:
Instant, lightweight toast notifications for React. No providers or containers needed.
8 lines (7 loc) • 312 B
TypeScript
import { ReactNode } from 'react';
import { ToastUpdateOptions } from '../type/common';
/**
* Check if the updateOptions is a ToastUpdateOptions
* @param updateOptions
*/
export declare const isToastUpdateOptions: (updateOptions: ReactNode | ToastUpdateOptions) => updateOptions is ToastUpdateOptions;