UNPKG

@nutui/nutui-react-taro

Version:

京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序

11 lines (10 loc) 490 B
import React, { FunctionComponent } from 'react'; import { TaroToastProps } from "../../types"; export declare const Toast: FunctionComponent<Partial<TaroToastProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'content'>> & { show: typeof show; hide: typeof hide; }; export interface ToastOptions extends Partial<Omit<TaroToastProps, 'visible'>> { } export declare function show(selector: string, options: ToastOptions): void; export declare function hide(selector: string): void;