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