()
| 10 | |
| 11 | export class Separator extends React.Component<StringLiteralProps> { |
| 12 | render() { |
| 13 | const { x, y, selectorType, isSelected } = this.props |
| 14 | const className = 'separator' + (isSelected ? ' selected' : '') |
| 15 | const nodeClassname = 'svgsplootnode' + (isSelected ? ' selected' : '') |
| 16 | return ( |
| 17 | <g> |
| 18 | <rect className={nodeClassname} x={x} y={y} height={NODE_BLOCK_HEIGHT} width={8} rx="4" /> |
| 19 | <text x={x + 1.2} y={y + NODE_TEXT_OFFSET} className={className}> |
| 20 | {selectorType} |
| 21 | </text> |
| 22 | </g> |
| 23 | ) |
| 24 | } |
| 25 | } |
nothing calls this directly
no outgoing calls
no test coverage detected