source: client_app/src/components/item_components/project_component.js@ 0d7b1a9

Last change on this file since 0d7b1a9 was 0d7b1a9, checked in by Vzdra <vladko.zdravkovski@…>, 3 years ago

preparing edit

  • Property mode set to 100644
File size: 903 bytes
Line 
1import React from 'react';
2import {Header, List, Segment, Button} from 'semantic-ui-react';
3
4const Projects = (props) => {
5
6 return(
7 <Segment>
8 <Header as="h3">{props.title}</Header>
9 {props.type!=="USER" ? <Button primary>Edit</Button> : <span> </span>}
10 <Segment>{props.description}</Segment>
11 <Segment>
12 <Header as="h5" color="grey">{props.accountName}</Header>
13 <Header as="h4" color="blue">Owner Mail: {props.accountEmail}</Header>
14 </Segment>
15 <Segment>
16 <Header as="h3">Skills Required:</Header>
17 <List>
18 {props.skills.map(skill => {
19 return <List.Item key={skill.id}>{skill.name}</List.Item>
20 })}
21 </List>
22 </Segment>
23 </Segment>
24 );
25}
26
27export default Projects;
Note: See TracBrowser for help on using the repository browser.