mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 07:10:05 +02:00
11 lines
220 B
JavaScript
11 lines
220 B
JavaScript
|
const React = require('react');
|
||
|
|
||
|
const renderLines = (props) => {
|
||
|
return () => <line strokeWidth={2}></line>;
|
||
|
};
|
||
|
|
||
|
module.exports = (props) =>
|
||
|
<g className='links'>
|
||
|
{ props.data.links.map(renderLines()) }
|
||
|
</g>;
|