mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
react-draft-wysiwyg: fix onChange prop type
This commit is contained in:
Vendored
+1
-1
@@ -19,7 +19,7 @@ export class ContentBlock extends Draft.ContentBlock {}
|
||||
export class SelectionState extends Draft.SelectionState {}
|
||||
|
||||
export interface EditorProps {
|
||||
onChange?(contentState: ContentState): RawDraftContentState;
|
||||
onChange?(contentState: RawDraftContentState): void;
|
||||
onEditorStateChange?(editorState: EditorState): void;
|
||||
onContentStateChange?(contentState: RawDraftContentState): void;
|
||||
initialContentState?: RawDraftContentState;
|
||||
|
||||
Reference in New Issue
Block a user