Add license page

This commit is contained in:
Julia Friesel
2018-12-21 17:14:27 +01:00
parent c713ed5490
commit 000e1b63c7
7 changed files with 101 additions and 33 deletions
+22
View File
@@ -0,0 +1,22 @@
import React from 'react'
import { ScrollView, View } from 'react-native'
import AppText from './app-text'
import { licenseText, shared } from '../i18n/en/labels'
import styles,{secondaryColor} from '../styles'
import Button from './button'
export default function License() {
return (
<ScrollView style={styles.licensePage}>
<AppText>{licenseText}</AppText>
<View style={styles.licenseButtons}>
<Button style={styles.licenseButton} backgroundColor={'grey'}>
{shared.cancel}
</Button>
<Button style={styles.licenseButton} backgroundColor={secondaryColor}>
{shared.ok}
</Button>
</View>
</ScrollView>
)
}