complete ClipPath refactor

This commit is contained in:
Horcrux
2016-07-20 14:44:19 +08:00
parent dd6cb80e84
commit 18e1b60823
30 changed files with 254 additions and 251 deletions

View File

@@ -7,15 +7,17 @@ import {EllipseAttributes} from '../lib/attributes';
class Ellipse extends Shape{
static displayName = 'Ellipse';
static propTypes = {
...pathProps,
...ellipseProps
};
static contextTypes = {
...fillProps,
...strokeProps,
...ellipseProps
static defaultProps = {
cx: 0,
cy: 0,
rx: 0,
ry: 0
};
setNativeProps = (...args) => {