Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from "react";
- class Q2L3 extends React.Component {
- render() {
- return (
- <g id="Pie-Circle" transform="translate(39.000000, 51.000000)">
- <path
- className="slice q2_color"
- data-q={2}
- data-l={3}
- fill="#fca95a"
- d="M260,100 L260,50 C370.45695,50 460,139.54305 460,250 L410,250 C410,167.157288 342.842712,100 260,100 Z"
- id="Q2-3"
- fillOpacity="0.665392889"
- onClick={this.showAlert}
- />
- </g>
- )
- }
- showAlert() {
- alert("Q2L3");
- }
- }
- export default Q2L3;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement