UNPKG

dumi

Version:

📖 Documentation Generator of React Component

15 lines (14 loc) • 502 B
import { type IPreviewerProps } from 'dumi'; import { type FC, type ReactNode } from 'react'; import './index.less'; export interface IPreviewerActionsProps extends IPreviewerProps { /** * disabled actions */ disabledActions?: ('CSB' | 'STACKBLITZ' | 'EXTERNAL' | 'HTML2SKETCH')[]; extra?: ReactNode; forceShowCode?: boolean; demoContainer: HTMLDivElement | HTMLIFrameElement; } declare const PreviewerActions: FC<IPreviewerActionsProps>; export default PreviewerActions;