{"size": 612, "ext": "js", "max_stars_repo_path": "src/FilmsLoop.js", "max_stars_repo_name": "boneswvb/starwarsUdemu", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/FilmsLoop.js", "max_issues_repo_name": "boneswvb/starwarsUdemu", "max_issues_repo_issues_event_min_datetime": "2020-07-17T01:43:54.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T10:51:42.000Z", "max_forks_repo_path": "src/FilmsLoop.js", "max_forks_repo_name": "boneswvb/starwarsUdemu", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 8, "max_forks_count": null, "avg_line_length": 22.6666666667, "max_line_length": 55, "alphanum_fraction": 0.6225490196}
import React from 'react';
import FilmsInfo from './FilmsInfo';


const FilmsLoop = ({ filmInformation }) => {
	return(
		<div>
			{
				filmInformation.map((user, i) => {
					return(<FilmsInfo 
						key={i}
						id={ filmInformation[i].episode_id }
						title={ filmInformation[i].title }
						created={ filmInformation[i].created }
						director={ filmInformation[i].director }
						producer={ filmInformation[i].producer }
						releaseDate={ filmInformation[i].release_date }
						openingCrawl={ filmInformation[i].opening_crawl }
					/>
					);
				})
			}
		</div>
	);
}

export default FilmsLoop;