{"size": 298, "ext": "js", "max_stars_repo_path": "src/component/SpreadComponent/index.js", "max_stars_repo_name": "onlove/react-api-demo", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/component/SpreadComponent/index.js", "max_issues_repo_name": "onlove/react-api-demo", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/component/SpreadComponent/index.js", "max_forks_repo_name": "onlove/react-api-demo", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.2857142857, "max_line_length": 64, "alphanum_fraction": 0.6308724832}
/**
 * Created by DT274 on 2016/8/10.
 */
import React, {Component} from 'react';

class SpreadDemo extends Component {
    componentWillMount(){
        console.log(this.props);
    }
    render(){
        return <h1>{this.props.name} is a {this.props.type}</h1>
    }
}
export default SpreadDemo;