import React, { Component } from 'react'; import './component-styling.css' class CityLine extends Component { state = { cityline:[{number : '1,3,5,6,7,3,9,10,9,34,56,78,90,123,457,89'} ] } render() { return (
{this.state.cityline.map(line => )}
LINE
{line.number}
); } } export default CityLine;