This package has been deprecated

Author message:

Renamed to react-native-scrollable-with-collapsible-header

react-native-scrollable-with-collapsable-header

1.0.1 • Public • Published

react-native-scrollable-with-collapsable-header

What is it?

A simple react-native component to associate a collapsable header to any scrollable component (ie: ScrollView, FlatList, SectionList).

Usage

  <ScrollableWithCollapsableHeader 
    headerComponent={() => {
      <MyHeaderComponent />
    }}
    headerHeight={50}
    listComponent={({style, onScroll, scrollEventThrottle}) => {
      <ScrollView style={style}, onScroll={onScroll}, scrollEventThrottle={scrollEventThrottle} />
    }}
  />

/react-native-scrollable-with-collapsable-header/

    Package Sidebar

    Install

    npm i react-native-scrollable-with-collapsable-header

    Weekly Downloads

    1

    Version

    1.0.1

    License

    Apache 2.0

    Unpacked Size

    14.6 kB

    Total Files

    4

    Last publish

    Collaborators

    • jgdoyon-nexapp
    • pluc_nexapp
    • mbergeron
    • tristanod
    • hsebouai-nexapp
    • sebdufbeau
    • gabsima-nexapp
    • drichard-nexapp