mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-25 13:45:48 +08:00
Merge pull request #17375 from mohsen1/patch-21
Export DraftEditorProps
This commit is contained in:
2
types/draft-js/index.d.ts
vendored
2
types/draft-js/index.d.ts
vendored
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user