Work Item and Activity screens mostly complete
This commit is contained in:
31
mobile/src/ui/PhotoButton.js
Normal file
31
mobile/src/ui/PhotoButton.js
Normal file
@@ -0,0 +1,31 @@
|
||||
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>
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user