source: sources/client/src/components/admin/ParkingZoneInfoViewer/ResponsiblePersonsSector/index.js@ bc20307

Last change on this file since bc20307 was bc20307, checked in by Tasevski2 <39170279+Tasevski2@…>, 2 years ago

Push before video

  • Property mode set to 100644
File size: 1.1 KB
Line 
1import {
2 Wrapper,
3 Title,
4 DividerUnderTitle,
5 TableWrapper,
6 Elipsis,
7} from './styles';
8
9const ResponsiblePersonsSector = ({ persons }) => {
10 return (
11 <Wrapper>
12 <Title>Одговорни Лица</Title>
13 <DividerUnderTitle />
14 <TableWrapper>
15 <table>
16 <thead>
17 <tr>
18 <th>Име</th>
19 <th>Презиме</th>
20 <th>Повеќе</th>
21 </tr>
22 </thead>
23 <tbody>
24 {persons.map((person, index) => {
25 return (
26 <tr key={index}>
27 <td>{person.firstName}</td>
28 <td>{person.lastName}</td>
29 <td>
30 <Elipsis
31 target='_blank'
32 to={`/employees/${person.workerId}`}
33 >
34 ...
35 </Elipsis>
36 </td>
37 </tr>
38 );
39 })}
40 </tbody>
41 </table>
42 </TableWrapper>
43 </Wrapper>
44 );
45};
46
47export default ResponsiblePersonsSector;
Note: See TracBrowser for help on using the repository browser.