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

@@ -10,6 +10,7 @@ import Shape from './Shape';
class Text extends Shape {
static displayName = 'Text';
static propTypes = {
dx: numberProp,
dy: numberProp,
@@ -17,10 +18,9 @@ class Text extends Shape {
...pathProps
};
static contextTypes = {
...textProps,
...fillProps,
...strokeProps
static defaultProps = {
dx: 0,
dy: 0
};
setNativeProps = (...args) => {