@logicflow/dumi-theme-simple
Version:
Simple website theme based on dumi2.
22 lines (21 loc) • 510 B
TypeScript
import React from 'react';
import { Demo, ExampleTopic } from '../../types';
export interface ExampleSiderProps {
/**
* 当前 Example (受控)
*/
currentDemo: Demo;
/**
* 当选中的 Demo 被改变时做些什么
*/
onDemoClicked: (demo: Demo) => void;
/**
* 所有的案例主题
*/
exampleTopics: ExampleTopic[];
showExampleDemoTitle: boolean;
}
/**
* DEMO 预览页面的菜单
*/
export declare const ExampleSider: React.FC<ExampleSiderProps>;