import React from 'react' import * as lodash from 'lodash' import { Row } from './Base' import RenderedPoint from './RenderedPoint' const PointList = props => { const { setPointCursor, routeHandler, points, loading } = props const chunks = lodash.chunk(points, 3) return ( points.length === 0 ?

{loading ? 'Loading...' : 'No points to display' }

: lodash.map(chunks, (chunk, idx) => { lodash.map(chunk, point => ) } ) ) } export default PointList