@busfor/react-native-collapsible-navbar-scrollview
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

react-native-collapsible-navbar-scrollview

npm npm (tag)

React Native collapsible navBar implementation.


Getting started

$ yarn add @busfor/react-native-collapsible-navbar-scrollview

Usage

import { CollapsibleNavBarScrollView, CollapsibleNavBarState } from '@busfor/react-native-collapsible-navbar-scrollview'
<CollapsibleNavBarScrollView
  headerMinHeight={56}
  headerMaxHeight={300}
  header={<View style={styles.header} />}
  animatedValue={/** Animated.Value for header animations **/}
  useNativeDriver={true} // for animatedValue
  initialState={CollapsibleNavBarState.open}
  onChangeState={(state) => {
    console.log(state)
  }} // CollapsibleNavBarState
  // ...other ScrollView props
>
  ...
</CollapsibleNavBarScrollView>

Dependencies (0)

    Dev Dependencies (13)

    Package Sidebar

    Install

    npm i @busfor/react-native-collapsible-navbar-scrollview

    Weekly Downloads

    13

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    19 MB

    Total Files

    22

    Last publish

    Collaborators

    • i.sokolovskii
    • sorokin0andrey