add a page to show the licence

This commit is contained in:
Gérald L 2020-09-01 15:53:48 +02:00
parent 55acf8b168
commit 8174d717a0

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);