From 4d29cca2e1ef81f6e1f3b2a8a8e7192c630bacd5 Mon Sep 17 00:00:00 2001 From: Salieri Date: Wed, 29 Aug 2018 15:30:41 +0800 Subject: [PATCH] update typings for the 'react-rnd' package version 7.4 --- types/react-rnd/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/react-rnd/index.d.ts b/types/react-rnd/index.d.ts index ef7fb89674..eab4f70c91 100644 --- a/types/react-rnd/index.d.ts +++ b/types/react-rnd/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/bokuweb/react-rnd // Definitions by: Ragg // fsubal +// salieri // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 import * as React from "react"; @@ -100,6 +101,7 @@ export interface Options { maxWidth: number | string; maxHeight: number | string; z: number; + bounds: 'parent' | 'window' | 'body' | string; resizeHandleClasses: HandleClasses; resizeHandleStyles: HandleStyles;