add constants to exports (#20304)

This commit is contained in:
czengg
2017-10-05 11:31:28 -07:00
committed by Ryan Cavanaugh
parent 3b6b92d45e
commit 5ae8f2754f

View File

@@ -938,6 +938,12 @@ import genKey = Draft.Model.Keys.generateRandomKey;
import getDefaultKeyBinding = Draft.Component.Utils.getDefaultKeyBinding;
import getVisibleSelectionRect = Draft.Component.Selection.getVisibleSelectionRect;
import DraftEditorCommand = Draft.Model.Constants.DraftEditorCommand;
import DraftDragType = Draft.Model.Constants.DraftDragType;
import DraftBlockType = Draft.Model.Constants.DraftBlockType;
import DraftRemovalDirection = Draft.Model.Constants.DraftRemovalDirection;
import DraftHandleValue = Draft.Model.Constants.DraftHandleValue;
export {
Editor,
EditorProps,
@@ -970,5 +976,11 @@ export {
genKey,
getDefaultKeyBinding,
getVisibleSelectionRect
getVisibleSelectionRect,
DraftEditorCommand,
DraftDragType,
DraftBlockType,
DraftRemovalDirection,
DraftHandleValue
};