From 658263c5beac838240a19627894ef0621f681442 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 5 Jun 2017 17:42:51 -0400 Subject: browser, touchable --- client/src/lib/views/contact.js | 11 ++++------- client/src/lib/views/home.js | 2 +- client/src/lib/views/information.js | 10 +++++----- client/src/lib/views/nav.js | 2 +- 4 files changed, 11 insertions(+), 14 deletions(-) (limited to 'client/src/lib/views') diff --git a/client/src/lib/views/contact.js b/client/src/lib/views/contact.js index 57d3e9d..6c45b2f 100644 --- a/client/src/lib/views/contact.js +++ b/client/src/lib/views/contact.js @@ -2,8 +2,7 @@ import React, { Component } from 'react'; import { ActivityIndicator, KeyboardAvoidingView, - TouchableHighlight, - TouchableWithoutFeedback, + Touchable, StyleSheet, TextInput, Keyboard, @@ -200,11 +199,9 @@ export default class Contact extends Component { ) }) return ( - - - {comments} - - + + {comments} + ) } } diff --git a/client/src/lib/views/home.js b/client/src/lib/views/home.js index 8d5f275..2e7979e 100644 --- a/client/src/lib/views/home.js +++ b/client/src/lib/views/home.js @@ -2,7 +2,7 @@ import React, { Component } from 'react'; import { Image, StyleSheet, - TouchableOpacity, + Touchable, View, Platform } from 'react-native'; diff --git a/client/src/lib/views/information.js b/client/src/lib/views/information.js index 759bae2..9e69a83 100644 --- a/client/src/lib/views/information.js +++ b/client/src/lib/views/information.js @@ -3,7 +3,6 @@ import { StyleSheet, View, Image, - TouchableOpacity, ScrollView, } from 'react-native'; @@ -17,6 +16,7 @@ import ClearText from '../components/text' import Button from '../components/button' import Close from '../components/close' import Heading from '../components/heading' +import Touchable from '../components/touchable' export default class Information extends Component { constructor(props) { @@ -59,12 +59,12 @@ export default class Information extends Component { const content = this.props.content const essays = this.props.essays.map( (essay, i) => { return ( - this.showEssay(essay)}> + this.showEssay(essay)}> {essay.title} {essay.byline} - + ) }) return ( @@ -73,12 +73,12 @@ export default class Information extends Component { {essays} - this.showBios()}> + this.showBios()}> Artist Biographies Ai Weiwei, Jacques Herzog, Phillipe de Meuron - + diff --git a/client/src/lib/views/nav.js b/client/src/lib/views/nav.js index ef04f2d..3e852cf 100644 --- a/client/src/lib/views/nav.js +++ b/client/src/lib/views/nav.js @@ -3,7 +3,7 @@ import { Image, StyleSheet, Text, - TouchableOpacity, + Touchable, Platform, View } from 'react-native'; -- cgit v1.2.3-70-g09d2