@uiw/react-md-editor
Version:
A markdown editor with preview, implemented with React.js and TypeScript.
13 lines (12 loc) • 481 B
TypeScript
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): JSX.Element;
export default function Toolbar(props?: IToolbarProps): JSX.Element;