3.0.14 • Published 6 years ago

slap-react-native-list-item v3.0.14

Weekly downloads
116
License
-
Repository
-
Last release
6 years ago

bootstrap

$ npm install
$ react-native run-android
$ react-native run-ios

test

npm test

component style guide

export default class MyComponent extends Compoent {
  static propTypes = {
    text: PropTypes.string
  };

  static defaultProps = {
    text: 'text'
  };

  state = {
    clickNumber: 0
  };

  animatedValue = new Animated.Value(0);

  componentDidMount() {

  }

  onPress = () => {
    this.setState((previousState) => {
      return {
        clickNumber: previousState.clickNumber + 1
      };
    });
  };

  render() {
    return (
      <View>
        <Text onPress={this.onPress}>{ this.props.text }</Text>
      </View>
    );
  }
}
3.0.14

6 years ago

3.0.13

6 years ago

3.0.12

6 years ago

3.0.11

6 years ago

3.0.10

6 years ago

3.0.9

6 years ago

3.0.8

6 years ago

3.0.7

6 years ago

3.0.6

6 years ago

3.0.5

6 years ago

3.0.4

6 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

7 years ago