From 32eaf055a8d1e19d8707b9edbd2f547968495fab Mon Sep 17 00:00:00 2001 From: Logan McAnsh Date: Thu, 21 Feb 2019 11:06:56 -0500 Subject: [PATCH] [react-swipeable-views] add disableLazyLoading --- types/react-swipeable-views/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/react-swipeable-views/index.d.ts b/types/react-swipeable-views/index.d.ts index 68545673e6..a2c6a1d218 100644 --- a/types/react-swipeable-views/index.d.ts +++ b/types/react-swipeable-views/index.d.ts @@ -24,11 +24,16 @@ export interface SpringConfig { } export interface SwipeableViewsProps extends React.HTMLProps { + action: animateHeight?: boolean; animateTransitions?: boolean; axis?: AxisType; containerStyle?: React.CSSProperties; disabled?: boolean; + /* + * This is the config used to disable lazy loading, if true it will render all the views in first rendering. + */ + disableLazyLoading?: boolean; enableMouseEvents?: boolean; hysteresis?: number; ignoreNativeScroll?: boolean;