| Total Complexity | 1 | 
| Complexity/F | 1 | 
| Lines of Code | 34 | 
| Function Count | 1 | 
| Duplicated Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | import React, { Component } from "react" | 
            ||
| 2 | import { PlayerTeaser } from "./player--teaser" | 
            ||
| 3 | |||
| 4 | import "./team--section.scss"  | 
            ||
| 5 | |||
| 6 | export class TeamSection extends Component { | 
            ||
| 7 |   render() { | 
            ||
| 8 |     const { title, lineup } = this.props | 
            ||
| 9 | |||
| 10 | return (  | 
            ||
| 11 |       <section className={"team_lineup__section"}> | 
            ||
| 12 |         <h2>{title}</h2> | 
            ||
| 13 | <ul>  | 
            ||
| 14 |           {lineup.map((player, i) => { | 
            ||
| 15 | return (  | 
            ||
| 16 |               <li className={"team_lineup__item"} key={i}> | 
            ||
| 17 | <PlayerTeaser  | 
            ||
| 18 |                   url={player.path.alias} | 
            ||
| 19 |                   position={ | 
            ||
| 20 | player.field_shirtnumber || player.field_position_short  | 
            ||
| 21 | }  | 
            ||
| 22 |                   first_name={player.field_firstname} | 
            ||
| 23 |                   last_name={player.field_lastname} | 
            ||
| 24 |                   picture={player.relationships.field_image} | 
            ||
| 25 | />  | 
            ||
| 26 | </li>  | 
            ||
| 27 | )  | 
            ||
| 28 | })}  | 
            ||
| 29 | </ul>  | 
            ||
| 30 | </section>  | 
            ||
| 31 | )  | 
            ||
| 32 | }  | 
            ||
| 33 | }  | 
            ||
| 34 |