Conditions | 1 |
Total Lines | 27 |
Code Lines | 22 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import React from "react"; |
||
11 | |||
12 | function JobModalContent({ |
||
13 | name, |
||
14 | description, |
||
15 | extent, |
||
16 | applicationDue, |
||
17 | closeModal, |
||
18 | }: TJobContentProps): JSX.Element { |
||
19 | return ( |
||
20 | <> |
||
21 | <Button variant="danger" onClick={closeModal}> |
||
22 | Lukk |
||
23 | </Button> |
||
24 | <div className={style.jobDiv}> |
||
25 | <span className={style.jobContent}> |
||
26 | <span className={style.jobTitle}> |
||
27 | {name} |
||
28 | <br /> |
||
29 | {extent} |
||
30 | <br /> |
||
31 | {formatDate(applicationDue)} |
||
32 | </span> |
||
33 | <br /> |
||
34 | {parse(description)} |
||
35 | </span> |
||
36 | </div> |
||
37 | </> |
||
38 | ); |
||
41 |