UNPKG

shineout

Version:

Shein 前端组件库

9 lines (8 loc) 494 B
import React from 'react'; import { Methods, Options } from './Props'; export declare function destroy(id: string, unmount: boolean): void; export declare function close(props: Options, callback?: Function): void; export declare function createDiv(props: Options): HTMLElement; export declare function open(props: Options, isPortal?: boolean): React.ReactPortal | null; export declare const method: (type: Methods) => (option: Options) => () => void; export declare const closeAll: () => void;