prj-dangdol
``` $ npm install $ npm install -g exp $ exp start ```
Last updated 2 years ago by slapslap .
Original npm · Tarball · package.json
$ cnpm install prj-dangdol 
SYNC missed versions from official npm registry.

Bootstrapping

$ npm install
$ npm install -g exp
$ exp start

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>
    );
  }
}

Current Tags

  • 0.0.0                                ...           latest (2 years ago)

1 Versions

  • 0.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |