From fc465f00a92cb40de360ca830eed9e09e36dfb1c Mon Sep 17 00:00:00 2001 From: Kyle Roach Date: Sat, 11 Aug 2018 04:59:02 -0400 Subject: [PATCH] fix(types): Make scrollToFocusedInput params optional extraHeight and keyboardOpeningTime are optional params --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 0d950ea..ad77c57 100644 --- a/index.d.ts +++ b/index.d.ts @@ -113,8 +113,8 @@ declare class ScrollableComponent extends React.Component { scrollForExtraHeightOnAndroid: (extraHeight: number) => void; scrollToFocusedInput: ( reactNode: Object, - extraHeight: number, - keyboardOpeningTime: number + extraHeight?: number, + keyboardOpeningTime?: number ) => void }