Refactor update
This commit is contained in:
parent
37dea6c47a
commit
ed27109a51
7 changed files with 366 additions and 96 deletions
28
src/screens/AboutScreen.js.old
Executable file
28
src/screens/AboutScreen.js.old
Executable file
|
@ -0,0 +1,28 @@
|
|||
import React from 'react';
|
||||
import {
|
||||
View,
|
||||
Text,
|
||||
} from 'react-native';
|
||||
|
||||
class AboutScreen extends React.Component {
|
||||
static navigationOptions = ({ navigation }) => {
|
||||
return {
|
||||
title: navigation.getParam('otherParam', 'About'),
|
||||
headerStyle: {
|
||||
backgroundColor: '#3333ff',
|
||||
},
|
||||
headerTintColor: '#fff',
|
||||
};
|
||||
};
|
||||
|
||||
render() {
|
||||
return (
|
||||
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
|
||||
<Text>About Screen{"\n"}{"\n"}
|
||||
RPI Media Center Control v 1.0 beta</Text>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default AboutScreen;
|
Loading…
Add table
Add a link
Reference in a new issue