diff --git a/Example/examples/G.js b/Example/examples/G.js index 38bd193e..3eeb0d6a 100644 --- a/Example/examples/G.js +++ b/Example/examples/G.js @@ -13,13 +13,29 @@ import Svg, { class GExample extends Component{ static title = 'G children props inherit'; + + constructor() { + super(...arguments); + this.state = { + fill: 'purple' + }; + } + + componentDidMount = () => { + setTimeout(() => { + this.setState({ + fill: '#856' + }); + }, 2000); + }; + render() { return diff --git a/package.json b/package.json index 4f8d7254..4813bc53 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "4.1.4", + "version": "4.1.5", "name": "react-native-svg", "description": "SVG library for react-native", "repository": {