1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-28 12:50:05 +02:00
copilot/legacy/spikes/architecture/react-d3/client/links.js

16 lines
364 B
JavaScript
Raw Normal View History

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>;