primereact
Version:
[](https://gitter.im/primefaces/primereact?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
16 lines (14 loc) • 480 B
TypeScript
import React = require("react");
interface EditorProps {
id?: string,
value?: string,
style?: string,
className?: string,
placeholder?: string,
readonly?: boolean,
formats?: Array<any>,
headerTemplate?: any,
onTextChange?({htmlValue: HTMLElement, textValue: string, delta: any, source: string}): void,
onSelectionChange?({range: any, oldRange: any, source: string}): void;
}
export class Editor extends React.Component<EditorProps,any> {}