Merge pull request #17375 from mohsen1/patch-21

Export DraftEditorProps
This commit is contained in:
Nathan Shively-Sanders
2017-06-25 09:44:27 -07:00
committed by GitHub

View File

@@ -54,7 +54,7 @@ declare namespace Draft {
* These props are analagous to `value` and `onChange` in controlled React
* text inputs.
*/
interface DraftEditorProps {
export interface DraftEditorProps {
editorState: EditorState;
onChange(editorState: EditorState): void;