|
@@ -9,6 +9,7 @@ import {
|
9
|
9
|
StyleSheet,
|
10
|
10
|
ScrollView,
|
11
|
11
|
} from 'react-native';
|
|
12
|
+import libPkg from 'react-native-view-shot/package.json';
|
12
|
13
|
import { createAppContainer } from 'react-navigation';
|
13
|
14
|
import { createStackNavigator } from 'react-navigation-stack';
|
14
|
15
|
|
|
@@ -82,7 +83,7 @@ const screens = {
|
82
|
83
|
|
83
|
84
|
class HomeScreen extends Component {
|
84
|
85
|
static navigationOptions = {
|
85
|
|
- title: 'Home',
|
|
86
|
+ title: 'react-native-view-shot ' + libPkg.version,
|
86
|
87
|
};
|
87
|
88
|
render() {
|
88
|
89
|
const { navigation } = this.props;
|