BlueWallet/screen/settings/releasenotes.js

25 lines
673 B
JavaScript

import React from 'react';
import { ScrollView } from 'react-native';
import navigationStyle from '../../components/navigationStyle';
import { BlueCard, BlueText } from '../../BlueComponents';
import loc from '../../loc';
import SafeArea from '../../components/SafeArea';
const ReleaseNotes = () => {
const notes = require('../../release-notes');
return (
<SafeArea>
<ScrollView>
<BlueCard>
<BlueText>{notes}</BlueText>
</BlueCard>
</ScrollView>
</SafeArea>
);
};
ReleaseNotes.navigationOptions = navigationStyle({}, opts => ({ ...opts, headerTitle: loc.settings.about_release_notes }));
export default ReleaseNotes;