1.1.2 • Published 3 years ago
react-native-animated-scroll-header v1.1.2
React Native Animated Scroll Header
React Native Animated Scroll Header components for iOS + Android
Header that supports RTL.
Installation
To install this module cd
to your project directory and enter the following command:
yarn add react-native-animated-scroll-header
or
npm install react-native-animated-scroll-header
Demo
Short Content | Scrollable Content |
---|---|
Properties
Props | Types | Description |
---|---|---|
iconComponent | JSX.Element | *Require - Left button component |
onPressIcon | () => void | Left button onPress event |
headerText | string | *Require - Header text |
headerTextStyle | TextStyle | Header text style |
scrollViewProps | ScrollViewProps | ScrollView component props |
scrollViewRef | (ref: ScrollView) => void | ScrollView referance |
maxHeight | number | Header max height. Default 92 |
minHeight | number | Header min height. Default 48 |
headerContainerStyle | ViewStyle | Default background color backgroundColor #eee |