UNPKG

297 BTypeScriptView Raw
1/**
2 * use CodeSandbox.io
3 * @param data previewer opts
4 * @param opts the api that CodeSandbox calls when creating the demo
5 * @note return a open function for open demo on codesandbox.io
6 */
7export declare const openCodeSandbox: (data: IPreviewerProps, opts?: {
8 api?: string;
9}) => void;