Add setNativeProps method for most of elements

This commit is contained in:
Horcrux
2016-07-18 18:34:54 +08:00
parent 2516a778ba
commit efa7363b6f
13 changed files with 74 additions and 3 deletions

View File

@@ -7,7 +7,8 @@ import Svg, {
Circle,
Line,
Rect,
Text
Text,
Use
} from 'react-native-svg';
class GExample extends Component{
@@ -63,6 +64,7 @@ class GTransform extends Component{
<G
rotate="50"
origin="100, 50"
id="group"
>
<Line
x1="60"
@@ -90,6 +92,7 @@ class GTransform extends Component{
>
Text grouped with shapes</Text>
</G>
<Use href="#group" x="5" rotate="0" />
</Svg>;
}
}