import * as React from 'react' ; import * as c from '@frogpond/colors' ; import { View , ScrollView } from 'glamorous-native' ; import { Markdown } from '@frogpond/markdown' ; import { text } from '../../../../docs/legal.json' ; type Props = unknown ; export class LegalView extends React . Component < Props > { static navigationOptions = { title : 'Legal' , } ; render ( ) { return ( < ScrollView backgroundColor = { c . white } contentInsetAdjustmentBehavior = "automatic" paddingHorizontal = { 15 } > < View paddingVertical = { 15 } > < Markdown source = { text } /> < /View> < /ScrollView>); } }