antd-mobile
Version:
<img src="https://gw.alipayobjects.com/mdn/rms_ee68a8/afts/img/A*hjjDS5Yy-ooAAAAAAAAAAAAAARQnAQ" alt="logo" width="100%" />
18 lines (17 loc) • 640 B
TypeScript
import React, { ReactNode } from 'react';
import { PropagationEvent } from '../../utils/with-stop-propagation';
import { GetContainer } from '../../utils/render-to-container';
export interface ToastProps {
afterClose?: () => void;
maskStyle?: React.CSSProperties;
maskClassName?: string;
maskClickable?: boolean;
content?: ReactNode;
icon?: 'success' | 'fail' | 'loading' | React.ReactNode;
duration?: number;
position?: 'top' | 'bottom' | 'center';
visible?: boolean;
getContainer?: GetContainer;
stopPropagation?: PropagationEvent[];
}
export declare const InternalToast: React.FC<ToastProps>;