[react-rnd] Add position property (#35427)

This commit is contained in:
Rémi Gallego
2019-05-20 14:09:30 -07:00
committed by Ryan Cavanaugh
parent 6f40d7c9cb
commit 306b676cff
+4
View File
@@ -104,6 +104,10 @@ export interface Options {
bounds: 'parent' | 'window' | 'body' | string;
resizeHandleClasses: HandleClasses;
resizeHandleStyles: HandleStyles;
position?: {
x: number;
y: number;
};
lockAspectRatio: boolean;
enableResizing?: Enable;