upgrade example`s react-native version to 0.29.0

This commit is contained in:
Horcrux
2016-07-13 17:56:10 +08:00
parent 27a70b0978
commit fabefb7158
10 changed files with 347 additions and 54 deletions

View File

@@ -55,6 +55,7 @@ const styles = StyleSheet.create({
fontWeight: 'bold'
},
link: {
height: 40,
alignSelf: 'stretch',
width: Dimensions.get('window').width / 2 - 10
},
@@ -143,7 +144,8 @@ class SvgExample extends Component {
let samples = example.samples;
this.state.scale.setValue(0);
Animated.spring(this.state.scale, {
toValue: 1
toValue: 1,
useNativeDriver: true
}).start();
this.setState({