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{
static title = 'G children props inherit';
constructor() {
super(...arguments);
this.state = {
fill: 'purple'
};
}
componentDidMount = () => {
setTimeout(() => {
this.setState({
fill: '#856'
});
}, 2000);
};
render() {
return <Svg
height="100"
width="100"
>
<G
fill="purple"
fill={this.state.fill}
stroke="pink"
strokeWidth="3"
>