Introduces License and About components redesign

This commit is contained in:
mashazyu
2020-03-23 10:48:12 +01:00
committed by Sofiya Tepikin
parent 3f8f6dbbe6
commit 4f30db69f3
6 changed files with 98 additions and 46 deletions
+15 -14
View File
@@ -1,18 +1,19 @@
import React, { Component } from 'react'
import { View, ScrollView } from 'react-native'
import React from 'react'
import AppPage from '../common/app-page'
import AppText from '../common/app-text'
import styles from '../../styles/index'
import FramedSegment from '../common/framed-segment'
import labels from '../../i18n/en/settings'
export default class License extends Component {
render() {
return (
<ScrollView>
<View style={styles.framedSegment}>
<AppText style={styles.framedSegmentTitle}>{`${labels.license.title} `}</AppText>
<AppText>{`${labels.license.text} `}</AppText>
</View>
</ScrollView>
)
}
const License = () => {
return (
<AppPage title={labels.license.title} >
<FramedSegment last >
<AppText>{labels.license.text}</AppText>
</FramedSegment>
</AppPage>
)
}
export default License