WIP - Add screens to show licence and changelog #9

Closed
Ghost wants to merge 9 commits from (deleted):changelog_and_licence_screens into master
Showing only changes of commit 8174d717a0 - Show all commits

View file

@ -0,0 +1,26 @@
// @flow
import * as React from 'react';
import {Card, withTheme} from 'react-native-paper';
import CollapsibleScrollView from '../../components/Collapsible/CollapsibleScrollView';
import Markdown from 'react-native-markdown-display';
const licence = "Here comes the licence content"
class LicenceScreen extends React.Component<null> {
render(): React.Node {
return (
<CollapsibleScrollView style={{padding: 5}}>
<Card>
<Card.Content>
<Markdown>
{licence}
</Markdown>
</Card.Content>
</Card>
</CollapsibleScrollView>
);
}
}
export default withTheme(LicenceScreen);