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
@@ -11,7 +11,7 @@ import fillFilter from '../lib/fillFilter';
class Polyline extends Component{
static displayName = 'Polyline';
static propTypes = {
points: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
points: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
strokeLinecap: PropTypes.oneOf(['butt', 'square', 'round']),
strokeCap: PropTypes.oneOf(['butt', 'square', 'round']),
strokeLinejoin: PropTypes.oneOf(['miter', 'bevel', 'round']),