[react-swipeable-views] add disableLazyLoading

This commit is contained in:
Logan McAnsh
2019-02-21 11:06:56 -05:00
committed by GitHub
parent 351eeb6186
commit 32eaf055a8
+5
View File
@@ -24,11 +24,16 @@ export interface SpringConfig {
}
export interface SwipeableViewsProps extends React.HTMLProps<HTMLDivElement> {
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;