source: client_app/src/components/profiles/company_profile.js@ 5b36317

Last change on this file since 5b36317 was 580ba1a, checked in by Vzdra <vladko.zdravkovski@…>, 3 years ago

register and edit

  • Property mode set to 100644
File size: 596 bytes
Line 
1import React from 'react';
2import {Container, Header, Table, Item, Button} from 'semantic-ui-react'
3import {Link} from "react-router-dom";
4
5const CompanyProfile = (props) =>{
6 return(
7 <Container textAlign="left">
8 <Header>Company:</Header>
9 <h3>{props.data.name}</h3>
10 <h2>E-mail: {props.data.email}</h2>
11 <h3>Address: {props.data.address.country} {props.data.address.city} {props.data.address.street}</h3>
12 <Button primary as={Link} to={"/company/edit"}>Edit</Button>
13 </Container>
14 );
15}
16
17export default CompanyProfile;
Note: See TracBrowser for help on using the repository browser.