Temp commit

This commit is contained in:
Horcrux
2016-11-05 18:42:49 +08:00
parent ed2da1b364
commit da32b1bb96
21 changed files with 524 additions and 255 deletions
+3 -2
View File
@@ -4,6 +4,7 @@ import extractText from '../lib/extract/extractText';
import {numberProp, pathProps, fontProps} from '../lib/props';
import {TextAttributes} from '../lib/attributes';
import Shape from './Shape';
import TSpan from './TSpan';
class Text extends Shape {
static displayName = 'Text';
@@ -21,7 +22,7 @@ class Text extends Shape {
};
render() {
let props = this.props;
const props = this.props;
return <RNSVGText
ref={ele => {this.root = ele;}}
@@ -30,7 +31,7 @@ class Text extends Shape {
x: null,
y: null
})}
{...extractText(props)}
{...extractText(props, true)}
/>;
}
}