1.0.6 • Published 4 years ago

react-native-animated-listview v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Installation

npm i animatedListView

Usage

import { AnimatedList } from 'npm i react-native-animated-listview'

const design = (item) => {
    return (
      <View style={Styles.designFrame}>
        <TouchableOpacity style={Styles.buttonFrame}>
          <Image style={Styles.UImage} source={{uri: item.avatar}} />
          <View style={Styles.UserInfo}>
            <Text style={Styles.UserName}>{`${item.first_name} ${item.last_name}`}</Text>
            <Text style={Styles.UserEmail}>{item.email}</Text>
          </View>
        </TouchableOpacity>
      </View>
    )
}
<AnimatedList
    data={data}
    design={design}
    isVisible
    animation
    animSpeed={0.5}
    shadow
    shadowColor={'red'}
    shadowOpacity={0.4}
/>

Props

Contribution

For major changes, please open an issue first to discuss what you would like to change.