Add G element

Add G element
This commit is contained in:
Horcrux
2016-01-22 18:41:52 +08:00
parent 815540fc28
commit b871e0087e
11 changed files with 181 additions and 19 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import Path from './Path';
class Polygon extends Component{
static displayName = 'Polygon';
static propTypes = {
points: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired
points: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};
render() {
let props = this.props;