antd-mobile-taro-ui
Version:
以antd-mobile为设计标准,基于taro框架的微信小程序组件库
17 lines (16 loc) • 593 B
TypeScript
import React, { ReactNode } from 'react';
import { PropagationEvent } from 'antd-mobile/es/utils/with-stop-propagation';
import type { MaskProps } from '../mask';
export interface ToastProps {
afterClose?: () => void;
maskStyle?: MaskProps['style'];
maskClassName?: string;
maskClickable?: boolean;
content?: ReactNode;
icon?: 'success' | 'fail' | 'loading' | React.ReactNode;
duration?: number;
position?: 'top' | 'bottom' | 'center';
visible?: boolean;
stopPropagation?: PropagationEvent[];
}
export declare const InternalToast: React.FC<ToastProps>;