1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-11 05:40:11 +02:00
copilot/legacy/spikes/architecture/react-d3/client/links.js
Sérgio Ramos 8295bd6882 chore: initial lerna setup
this shall be a progressive process
2017-05-25 10:56:50 +01:00

16 lines
364 B
JavaScript

const React = require('react');
const renderLines = (props) => {
return () => <line strokeWidth={2}></line>;
};
module.exports = (props) =>
<g className='links' key='links'>
{ props.data.links.map((link, index) => {
console.log('link = ', link);
console.log('index = ', index);
return <line strokeWidth={2}></line>
})
}
</g>;