@wix/design-system
Version:
@wix/design-system
33 lines • 1.13 kB
TypeScript
export default RichTextInputArea;
declare class RichTextInputArea extends React.PureComponent<any, any, any> {
static contextType: React.Context<import("../FormField/StatusContext").StatusContextProps>;
constructor(props: any);
state: {
editorState: any;
texts: {
toolbarButtons: any;
insertionForm: any;
};
};
componentDidMount(): void;
editorRef: React.RefObject<any> | undefined;
render(): React.JSX.Element;
_setEditorState: (newEditorState: any, onStateChanged?: () => void) => void;
_updateContentByValue: (value: any) => void;
/** Set value to display in the editor */
setValue: (value: any) => void;
/** Sets focus on rich text input area element */
focus: () => void;
/** Removes focus from rich text input area element */
blur: () => void;
}
declare namespace RichTextInputArea {
let displayName: string;
namespace defaultProps {
let initialValue: string;
let texts: {};
let disabled: boolean;
}
}
import React from 'react';
//# sourceMappingURL=RichTextInputArea.d.ts.map