Guest User

Untitled

a guest
Jul 20th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. render(){
  2. return <g>
  3. <rect x={this.props.x}
  4. y={this.props.y}
  5. width={this.props.width}
  6. height={this.props.height}
  7. className="cd-attribute-container"
  8. onClick={this.props.onClick}
  9. >
  10. </rect>
  11. <RectangleControlPoints rect_x={this.props.x}
  12. rect_y={this.props.y}
  13. rect_width={this.props.width}
  14. rect_height={this.props.height}>
  15. </RectangleControlPoints>
  16. </g>}
  17.  
  18. export default ClassRectangleHOC( RectangleControlPoints );
  19.  
  20.  
  21. export default OtherClassRectangleHOC( RectangleControlPoints );
Add Comment
Please, Sign In to add comment