32 lines
673 B
JavaScript
32 lines
673 B
JavaScript
import React from 'react'
|
|
import {
|
|
StyleSheet,
|
|
View,
|
|
Image,
|
|
TouchableOpacity
|
|
} from 'react-native'
|
|
import { Icon } from '.'
|
|
import autobind from 'autobind-decorator'
|
|
|
|
// const styles = StyleSheet.create()
|
|
|
|
export class PhotoButton extends React.Component {
|
|
render() {
|
|
return (
|
|
<TouchableOpacity>
|
|
<View style={{
|
|
flexDirection: 'row',
|
|
width: 100,
|
|
height: 60,
|
|
borderWidth: 2,
|
|
borderColor: 'gray',
|
|
borderRadius: 4,
|
|
justifyContent: 'center',
|
|
}}>
|
|
<Icon name='add' size={24} style={{ alignSelf: 'center' }} />
|
|
</View>
|
|
</TouchableOpacity>
|
|
)
|
|
}
|
|
}
|