import React from 'react'; import { ScrollView, StyleSheet } from 'react-native'; import { SafeBlueArea, BlueCard, BlueNavigationStyle, BlueTextHooks } from '../../BlueComponents'; import { useTheme } from '@react-navigation/native'; import loc from '../../loc'; const ReleaseNotes = () => { const notes = require('../../release-notes'); const { colors } = useTheme(); const styles = StyleSheet.create({ root: { flex: 1, backgroundColor: colors.background, }, }); return ( {notes} ); }; ReleaseNotes.navigationOptions = () => ({ ...BlueNavigationStyle(), title: loc.settings.about_release_notes, }); export default ReleaseNotes;