rich-text-editor-lib
Version:
A reusable and responsive rich text editor React component.
16 lines (13 loc) • 401 B
TypeScript
import React from 'react';
interface RichTextEditorProps {
name: string;
value: string;
onChange: (value: string) => void;
onBlur?: (e: React.FocusEvent<HTMLDivElement>) => void;
placeholder?: string;
error?: string;
className?: string;
style?: React.CSSProperties;
}
declare const RichTextEditor: React.FC<RichTextEditorProps>;
export { RichTextEditor as default };