UNPKG

pm-react-text-editor

Version:

A customizable and lightweight rich-text editor for React, built with hooks and modern styling. Supports common formatting tools like bold, italic, lists, headings, links, and more.

7 lines (6 loc) 226 B
interface PMEditorProps { onChange: (content: string) => void; value?: string; } declare function PMEditorHook({ onChange, value }: PMEditorProps): import("react/jsx-runtime").JSX.Element; export default PMEditorHook;