zarm
Version:
基于 React 的移动端UI库
9 lines (8 loc) • 435 B
TypeScript
export type { ToastHandler } from './methods';
export type { ToastProps } from './Toast';
declare const Toast: {
show: (props: string | Omit<import("./Toast").ToastProps, "visible">) => import("./methods").ToastHandler;
clear: () => void;
config: (props: Pick<import("./Toast").ToastProps, keyof import("./interface").BaseToastProps | keyof import("../utils/utilityTypes").HTMLProps<{}>>) => void;
};
export default Toast;