UNPKG

primereact

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primereact.svg)](https://badge.fury.io/js/primereact) [![Discord Chat](https://img.shields.io/discord/5579

20 lines (17 loc) 543 B
import * as React from 'react'; interface EditorProps { id?: string; value?: string; style?: object; className?: string; placeholder?: string; readOnly?: boolean; modules?: any; formats?: any[]; theme?: string; headerTemplate?: JSX.Element | undefined, onTextChange?(e: { htmlValue: string|null, textValue: string, delta: any, source: string }): void; onSelectionChange?(e: { range: any, oldRange: any, source: string }): void; } export class Editor extends React.Component<EditorProps, any> { }