const React = require('react'); const renderLines = (props) => { return () => ; }; module.exports = (props) => { props.data.links.map((link, index) => { console.log('link = ', link); console.log('index = ', index); return }) } ;