1.0.7 • Published 6 years ago

react-native-stagger-in v1.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

react-native-stagger-in

Staggered views made simple

NPM Version NPM Downloads

Quick Access

  • Installation
  • Preview
  • Expo
  • Usage
  • Properties
  • Contributing

Installation

Install the module with:

npm install react-native-stagger-in --save

Preview

npm.io

Expo

You can find the Expo snack here: https://snack.expo.io/@johan-dev/staggerin

Usage

Simply import the component

import StaggerIn from 'react-native-stagger-in';

Then use as follows

<StaggerIn>
    <Text>View 1</Text>
    <Text>View 2</Text>
</StaggerIn>
Top

Properties

PropDescriptionDefault
durationThe duration each view takes to load in300
staggerDelayThe delay between each animation200
useNativeDriverUse the native drive for the animationstrue
Top

Contributing

Feel free to do pull requests if a certain feature you want is missing. We accept all PR's that are enhancements to the project.

Top