react-native-navigation-bottom-sheet
Version:
A performant customizable bottom sheet component made on top of wix react-native-navigation library.
18 lines (17 loc) • 820 B
TypeScript
import React, { Component } from 'react';
import { FlatListProps as RNFlatListProps, StyleProp, ViewStyle } from 'react-native';
import Animated from 'react-native-reanimated';
declare type Props<T> = Omit<RNFlatListProps<T>, 'overScrollMode' | 'bounces' | 'decelerationRate' | 'onScrollBeginDrag' | 'scrollEventThrottle' | 'style'> & {
style?: StyleProp<Animated.AnimateStyle<ViewStyle>>;
height?: number;
gestureRef?: any;
};
export default class FlatList extends Component<Props<any>, {}> {
state: {
scrollContentHeight: number;
};
nativeGestureRef: React.RefObject<React.ComponentType<import("react-native-gesture-handler").NativeViewGestureHandlerProps & React.RefAttributes<any>>>;
handleScrollSizeChange: (w: number, h: number) => void;
render(): JSX.Element;
}
export {};