Skip to content
Snippets Groups Projects
license.js 686 B
Newer Older
Julia Friesel's avatar
Julia Friesel committed
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>
  )
}