2016-05-10 06:06:03 +08:00
|
|
|
import React, { PropTypes } from 'react';
|
|
|
|
|
|
|
|
export default class RectangleDrawComponent extends React.Component {
|
|
|
|
constructor(props) {
|
|
|
|
super(props);
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
2016-05-26 03:24:01 +08:00
|
|
|
var style = {
|
|
|
|
WebkitTapHighlightColor: 'rgba(0, 0, 0, 0)',
|
|
|
|
};
|
2016-05-10 06:06:03 +08:00
|
|
|
return (
|
2016-05-27 08:13:53 +08:00
|
|
|
|
2016-05-25 06:50:22 +08:00
|
|
|
//style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"
|
|
|
|
<rect
|
|
|
|
x=""
|
|
|
|
y=""
|
|
|
|
width=""
|
|
|
|
height=""
|
|
|
|
r=""
|
|
|
|
rx=""
|
|
|
|
ry=""
|
|
|
|
fill=""
|
|
|
|
stroke=""
|
|
|
|
stroke-width=""
|
2016-05-26 03:24:01 +08:00
|
|
|
style={style}
|
2016-05-27 08:13:53 +08:00
|
|
|
>
|
2016-05-25 06:50:22 +08:00
|
|
|
</rect>
|
2016-05-10 06:06:03 +08:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|