Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. import React from "react";
  2.  
  3. class Q2L3 extends React.Component {
  4. render() {
  5. return (
  6. <g id="Pie-Circle" transform="translate(39.000000, 51.000000)">
  7. <path
  8. className="slice q2_color"
  9. data-q={2}
  10. data-l={3}
  11. fill="#fca95a"
  12. d="M260,100 L260,50 C370.45695,50 460,139.54305 460,250 L410,250 C410,167.157288 342.842712,100 260,100 Z"
  13. id="Q2-3"
  14. fillOpacity="0.665392889"
  15. onClick={this.showAlert}
  16. />
  17. </g>
  18. )
  19. }
  20.  
  21. showAlert() {
  22. alert("Q2L3");
  23. }
  24. }
  25.  
  26. export default Q2L3;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement