add a page to show the licence
This commit is contained in:
parent
55acf8b168
commit
8174d717a0
1 changed files with 26 additions and 0 deletions
26
src/screens/Other/LicenceScreen.js
Normal file
26
src/screens/Other/LicenceScreen.js
Normal 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);
|
Loading…
Reference in a new issue