modulo-editor
Version:
A flexible and extensible block-based editor for React applications
10 lines (9 loc) • 344 B
TypeScript
import React from 'react';
import { FormatKey, RichTextFormat } from '../types';
interface RichTextToolbarProps {
onFormatText: (format: FormatKey, value?: string) => void;
currentFormats: RichTextFormat;
containerRef: React.RefObject<HTMLElement>;
}
export declare const RichTextToolbar: React.FC<RichTextToolbarProps>;
export {};