@logicflow/dumi-theme-simple
Version:
Simple website theme based on dumi2.
18 lines (17 loc) • 417 B
TypeScript
import React from 'react';
import { ExampleTopic } from '../../types';
type CodeRunnerProps = {
isPlayground?: boolean;
topic: string;
example: string;
demo: string;
exampleTopics: ExampleTopic[];
size?: number;
replaceId?: string;
notFound?: React.ReactElement;
};
/**
* 代码编辑器 + 代码预览区域
*/
export declare const CodeRunner: React.FC<CodeRunnerProps>;
export {};