mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-20 05:55:10 +00:00
complete ClipPath refactor
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user