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/components/close.js | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 client/src/lib/components/close.js (limited to 'client/src/lib/components/close.js') diff --git a/client/src/lib/components/close.js b/client/src/lib/components/close.js new file mode 100644 index 0000000..12b4a0a --- /dev/null +++ b/client/src/lib/components/close.js @@ -0,0 +1,33 @@ +import React, { Component } from 'react'; +import { + StyleSheet, + TouchableOpacity, + Image +} from 'react-native'; +import DeviceInfo from 'react-native-device-info' + +export default class Close extends Component { + render() { + return ( + + + + ) + } +} + +const styles = StyleSheet.create({ + close: { + position: 'absolute', + top: 10, + right: 10, + width: 40, + height: 40, + padding: 5, + backgroundColor: 'black' + }, + closeImage: { + width: 30, + height: 30, + }, +}) -- cgit v1.2.3-70-g09d2