md-editor-rt
Version:
Markdown editor for react, developed in jsx and typescript, dark theme、beautify content by prettier、render articles directly、paste or clip the picture and upload it...
22 lines (21 loc) • 622 B
TypeScript
import { CSSProperties, ReactNode, MouseEvent } from 'react';
export interface ModalToolbarProps {
title?: string;
modalTitle?: string;
visible: boolean;
width?: string;
height?: string;
trigger: ReactNode;
onClick: (e: MouseEvent) => void;
onClose: () => void;
showAdjust?: boolean;
isFullscreen?: boolean;
onAdjust?: (v: boolean) => void;
children?: any;
className?: string;
style?: CSSProperties;
showMask?: boolean;
disabled?: boolean;
}
declare const ModalToolbar: (props: ModalToolbarProps) => import("react").JSX.Element;
export default ModalToolbar;