From 3e72bfa56c860826429a842f6c128d78d4a930db Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 1 Jun 2017 19:47:08 -0400 Subject: react-native-web port of fmf app --- client/src/lib/timeline/timelineHeader.js | 111 ++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 client/src/lib/timeline/timelineHeader.js (limited to 'client/src/lib/timeline/timelineHeader.js') diff --git a/client/src/lib/timeline/timelineHeader.js b/client/src/lib/timeline/timelineHeader.js new file mode 100644 index 0000000..559ace9 --- /dev/null +++ b/client/src/lib/timeline/timelineHeader.js @@ -0,0 +1,111 @@ +import React, { Component } from 'react'; +import { + StyleSheet, + TouchableOpacity, + Text, + View, + ScrollView, +} from 'react-native'; +import HTMLView from 'react-native-htmlview' + +import htmlStyles from '../components/htmlStyles' +import Heading from '../components/heading' +import ClearText from '../components/text' +import Button from '../components/button' +import Close from '../components/close' + +export default class TimelineHeader extends Component { + constructor(props) { + super() + } + render() { + if (!! this.props.tag) { + return ( + + ) + } + else { + const body = '

' + this.props.content.body + '

' + return ( + + + HISTORY OF SURVEILLANCE + +