add a page to show the licence
Esse commit está contido em:
pai
55acf8b168
commit
8174d717a0
1 arquivos alterados com 26 adições e 0 exclusões
26
src/screens/Other/LicenceScreen.js
Arquivo normal
26
src/screens/Other/LicenceScreen.js
Arquivo normal
|
|
@ -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);
|
||||
Carregando…
Referência em uma nova issue