UNPKG

@uiw/react-md-editor

Version:

A markdown editor with preview, implemented with React.js and TypeScript.

13 lines (12 loc) 537 B
import { IProps } from '../../Editor'; import { ICommand } from '../../commands'; import './index.less'; export interface IToolbarProps extends IProps { overflow?: boolean; toolbarBottom?: boolean; onCommand?: (command: ICommand<string>, groupName?: string) => void; commands?: ICommand<string>[]; isChild?: boolean; } export declare function ToolbarItems(props: IToolbarProps): import("react/jsx-runtime").JSX.Element; export default function Toolbar(props?: IToolbarProps): import("react/jsx-runtime").JSX.Element;