{"size": 592, "ext": "js", "max_stars_repo_path": "labs/4/my-app/src/components/CardList/index.js", "max_stars_repo_name": "eromanmg/dig4639-mobile-dev", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "labs/4/my-app/src/components/CardList/index.js", "max_issues_repo_name": "eromanmg/dig4639-mobile-dev", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "labs/4/my-app/src/components/CardList/index.js", "max_forks_repo_name": "eromanmg/dig4639-mobile-dev", "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": 20.4137931034, "max_line_length": 106, "alphanum_fraction": 0.5472972973}
import React from 'react';
import List from './data.json';
import Card from '../card'

class CardList extends React.Component{
   constructor(props){
       super(props)
       this.state = List
   }
    myFunction(content) {
        // This method should modify the list stored in this.state using this.setState with the new list.
    }
    render (){
        return (
            <>
            {
                this.state.cards.map((value) => <Card content={value.content} title={value.title}></Card>)
    
            }
            </>
        )
    }
}

    



export default CardList;