Move example files to src.

I don't remember why I put these in FastImage in the first place.
This commit is contained in:
Dylan Vann
2018-05-09 22:13:18 -04:00
parent 6c6526e4e7
commit b206c50028
18 changed files with 1 additions and 1 deletions
+28
View File
@@ -0,0 +1,28 @@
import React from 'react'
import { StyleSheet, Text, TouchableOpacity, View } from 'react-native'
const Button = ({ text, onPress }) => (
<TouchableOpacity onPress={onPress}>
<View style={styles.button}>
<Text style={styles.text}>{text}</Text>
</View>
</TouchableOpacity>
)
const styles = StyleSheet.create({
button: {
backgroundColor: 'black',
margin: 5,
height: 44,
paddingLeft: 10,
paddingRight: 10,
borderRadius: 10,
alignItems: 'center',
justifyContent: 'center',
},
text: {
color: 'white',
},
})
export default Button