From 306b676cffaaac4f7bfb27af8fc5aa98f6b76c32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gallego?= Date: Mon, 20 May 2019 23:09:30 +0200 Subject: [PATCH] [react-rnd] Add position property (#35427) --- types/react-rnd/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/react-rnd/index.d.ts b/types/react-rnd/index.d.ts index eab4f70c91..c16e444988 100644 --- a/types/react-rnd/index.d.ts +++ b/types/react-rnd/index.d.ts @@ -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;