Fakultas Ilmu Komputer UI

Commit 6397c10e authored by sirinbaisa's avatar sirinbaisa
Browse files

no message

parent 8340f8f4
......@@ -61,7 +61,6 @@ export default class VacancyPage extends React.Component {
<VacancyList key={1} userId={this.state.id} url={`/companies/${this.state.id}/vacancies/`} type="company" />
);
}
return (
<div>
<h3>
......
import React from 'react';
import { Button, Header, Modal } from 'semantic-ui-react';
export default class VerifyAdminModal extends React.Component {
state = { modalOpen: false }
handleOpen = () => this.setState({
modalOpen: true,
});
handleClose = () => this.setState({
modalOpen: false,
});
render() {
return (
<Modal
trigger={
<Button color="blue" icon="right chevron" labelPosition="right" floated="right" content="ubah" onClick={this.handleOpen} />
}
closeIcon="close"
open={this.state.modalOpen}
onClose={this.handleClose}
>
<Modal.Header>Software Engineer</Modal.Header>
<Modal.Content >
<Modal.Description>
<Header>Deskripsi Lowongan</Header>
Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat.
</Modal.Description>
</Modal.Content>
<Modal.Actions>
<Button color="green" floated="right" onClick={this.handleClose}>Verifikasi</Button>
</Modal.Actions>
</Modal>
);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment