dumi
Version:
📖 Documentation Generator of React Component
11 lines (10 loc) • 342 B
TypeScript
import { type IPreviewerProps } from 'dumi';
/**
* use CodeSandbox.io
* @param data previewer opts
* @param opts the api that CodeSandbox calls when creating the demo
* @note return a open function for open demo on codesandbox.io
*/
export declare const openCodeSandbox: (data: IPreviewerProps, opts?: {
api?: string;
}) => void;