From 8174d717a0a6b99dc27df817164fe3cdfe8b6a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rald=20L?= Date: Tue, 1 Sep 2020 15:53:48 +0200 Subject: [PATCH] add a page to show the licence --- src/screens/Other/LicenceScreen.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/screens/Other/LicenceScreen.js diff --git a/src/screens/Other/LicenceScreen.js b/src/screens/Other/LicenceScreen.js new file mode 100644 index 0000000..fe77487 --- /dev/null +++ b/src/screens/Other/LicenceScreen.js @@ -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 { + render(): React.Node { + return ( + + + + + {licence} + + + + + ); + } +} + +export default withTheme(LicenceScreen);