Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@fabfit/react-native-parallax-header
Advanced tools
Animated parallax headers for React Native as seen in our FabFit Studio App.
npm install @fabfit/react-native-parallax-header
or
yard add @fabfit/react-native-parallax-header
import ParallaxHeader from '@fabfit/react-native-parallax-header';
<ParallaxHeader
maxHeight={300}
minHeight={100}
heroImage={{ uri: 'https://source.unsplash.com/user/erondu/600x300' }}
>
<Text>All children will render below the parallax header</Text>
</ParallaxHeader>;
Name | Description | Default |
---|---|---|
maxHeight (optional) | Sets the maximum height of the header | 550 |
minHeight (optional) | Sets the minimum height of the header | 170 |
children | React children | - |
renderOverlay | Renders an overlay over the parallax header, e.g text | - |
renderHeader | - | |
heroImage | React Native image props for display default image | - |
There are a number of examples that can be found in the /examples
directory. If you'd like to run the examples you will need to:
yarn ; yarn bootstrap
in the rootyarn example:ios
which will run the example directory in a simulatorFAQs
Animated parallax headers for React Native
The npm package @fabfit/react-native-parallax-header receives a total of 8 weekly downloads. As such, @fabfit/react-native-parallax-header popularity was classified as not popular.
We found that @fabfit/react-native-parallax-header demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.