mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-19 21:45:10 +00:00
upgrade example`s react-native version to 0.29.0
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user