react-native-gifted-chat
Version:
The most complete chat UI for React Native
10 lines • 516 B
JavaScript
import { FlatList } from 'react-native-gesture-handler';
import Animated from 'react-native-reanimated';
/** Animated FlatList created from react-native-gesture-handler's FlatList */
const RNGHAnimatedFlatList = Animated.createAnimatedComponent(FlatList);
/**
* Typed AnimatedFlatList component that preserves generic type parameter.
* Uses react-native-gesture-handler's FlatList which respects keyboardShouldPersistTaps.
*/
export const AnimatedFlatList = RNGHAnimatedFlatList;
//# sourceMappingURL=types.js.map