bump version to 4.1.5

This commit is contained in:
Horcrux
2016-08-24 17:40:32 +08:00
parent eabec82b97
commit 371cf51b0d
2 changed files with 18 additions and 2 deletions

View File

@@ -13,13 +13,29 @@ import Svg, {
class GExample extends Component{ class GExample extends Component{
static title = 'G children props inherit'; static title = 'G children props inherit';
constructor() {
super(...arguments);
this.state = {
fill: 'purple'
};
}
componentDidMount = () => {
setTimeout(() => {
this.setState({
fill: '#856'
});
}, 2000);
};
render() { render() {
return <Svg return <Svg
height="100" height="100"
width="100" width="100"
> >
<G <G
fill="purple" fill={this.state.fill}
stroke="pink" stroke="pink"
strokeWidth="3" strokeWidth="3"
> >

View File

@@ -1,5 +1,5 @@
{ {
"version": "4.1.4", "version": "4.1.5",
"name": "react-native-svg", "name": "react-native-svg",
"description": "SVG library for react-native", "description": "SVG library for react-native",
"repository": { "repository": {