()
| 16 | |
| 17 | export class InlineProperty extends React.Component<PropertyProps> { |
| 18 | render() { |
| 19 | const { block, leftPos, topPos, propertyName } = this.props |
| 20 | const { node } = this.props.block |
| 21 | |
| 22 | return ( |
| 23 | <text x={leftPos} y={topPos + NODE_TEXT_OFFSET} style={{ fill: block.textColor }}> |
| 24 | {node.getProperty(propertyName)} |
| 25 | </text> |
| 26 | ) |
| 27 | } |
| 28 | } |
nothing calls this directly
no test coverage detected