Hooked up Work Item screen to API
This commit is contained in:
@@ -35,14 +35,14 @@ export class MessageModal extends Component {
|
||||
|
||||
return (
|
||||
<Modal isVisible={open}>
|
||||
<View style={{ alignSelf: 'center', padding: 5, backgroundColor: '#FFFFFF', flexDirection: 'row' }}>
|
||||
<Icon name={icon} size={130} margin={3} />
|
||||
<View style={{ marginLeft: 20, marginRight: 20, flexGrow: 1, flexDirection: 'column' }}>
|
||||
<Text style={{ marginTop: 5, fontSize: 18, alignSelf: 'center' }}>{message}</Text>
|
||||
<Text style={{ marginTop: 20, alignSelf: 'center' }}>{detail}</Text>
|
||||
<View style={{ flexDirection: 'row', width: '100%', padding: 5, backgroundColor: '#FFFFFF' }}>
|
||||
<Icon name={icon} size={100} margin={3} />
|
||||
<View style={{ flexGrow: 1, flexBasis: 0, flexDirection: 'column', flexWrap: 'wrap', marginLeft: 20, marginRight: 20}}>
|
||||
<Text style={{ marginTop: 5, fontSize: 18 }}>{message}</Text>
|
||||
<Text style={{ marginTop: 20 }}>{detail}</Text>
|
||||
<TouchableOpacity onPress={this.handleButtonPress}
|
||||
style={{
|
||||
alignSelf: 'center',
|
||||
alignSelf: 'flex-end',
|
||||
backgroundColor: 'blue',
|
||||
marginTop: 20,
|
||||
marginBottom: 10,
|
||||
|
||||
Reference in New Issue
Block a user