add a page to show the licence

Esse commit está contido em:
Gérald L 2020-09-01 15:53:48 +02:00
commit 8174d717a0

Ver arquivo

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