import React from 'react';
import {Link, Redirect} from 'react-router-dom';
import { Container, Card, Button } from 'semantic-ui-react';
import Internships from "../item_components/internship_component";
const CompanyInternships = (props) =>{
if(props.userProfile.type==="COMPANY"){
if(props.userProfile.email!=null){
return(
Registered Internships:
{props.userProfile.internships.map(item =>{
return
})}
);
}
}
return (
);
}
export default CompanyInternships;