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

This commit is contained in:
Rémi Gallego 2019-05-20 23:09:30 +02:00 committed by Ryan Cavanaugh
parent 6f40d7c9cb
commit 306b676cff

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;