Application Android et IOS pour l'amicale des élèves https://play.google.com/store/apps/details?id=fr.amicaleinsat.application
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CollapsibleFlatList.js 611B

1234567891011121314151617181920212223242526
  1. // @flow
  2. import * as React from 'react';
  3. import {Animated} from "react-native";
  4. import type {CollapsibleComponentProps} from "./CollapsibleComponent";
  5. import CollapsibleComponent from "./CollapsibleComponent";
  6. type Props = {
  7. ...CollapsibleComponentProps
  8. }
  9. class CollapsibleFlatList extends React.Component<Props> {
  10. render() {
  11. return (
  12. <CollapsibleComponent
  13. {...this.props}
  14. component={Animated.FlatList}
  15. >
  16. {this.props.children}
  17. </CollapsibleComponent>
  18. );
  19. }
  20. }
  21. export default CollapsibleFlatList;