()
| 11 | |
| 12 | export class FragmentView extends React.Component<FragmentViewProps> { |
| 13 | render() { |
| 14 | const fragment = this.props.fragment |
| 15 | |
| 16 | return ( |
| 17 | <g transform={`translate(${fragment.translateX}, ${fragment.translateY})`}> |
| 18 | {fragment.nodes.map((nodeBlock: NodeBlock, idx: number) => { |
| 19 | return ( |
| 20 | <React.Fragment key={idx}> |
| 21 | <EditorNodeBlock block={nodeBlock} selectionState={NodeSelectionState.UNSELECTED} /> |
| 22 | </React.Fragment> |
| 23 | ) |
| 24 | })} |
| 25 | </g> |
| 26 | ) |
| 27 | } |
| 28 | } |
nothing calls this directly
no outgoing calls
no test coverage detected