Login Logout Navbar ProfileForm moved to MUI
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
import React from 'react';
|
||||
import { EducationType } from '../../types';
|
||||
import formatDate from '../../utils/formatDate';
|
||||
import React from "react";
|
||||
import { EducationType } from "../../types";
|
||||
import formatDate from "../../utils/formatDate";
|
||||
|
||||
const ProfileEducation = ({
|
||||
education: { school, degree, fieldofstudy, current, to, from, description }
|
||||
}: { education: EducationType }) => (
|
||||
education: { school, degree, fieldofstudy, current, to, from, description },
|
||||
}: {
|
||||
education: EducationType;
|
||||
}) => (
|
||||
<div>
|
||||
<h3 className="text-dark">{school}</h3>
|
||||
<p>
|
||||
{formatDate(from)} - {to ? formatDate(to) : 'Now'}
|
||||
{formatDate(from)} - {to ? formatDate(to) : "Now"}
|
||||
</p>
|
||||
<p>
|
||||
<strong>Degree: </strong> {degree}
|
||||
@@ -22,6 +24,4 @@ const ProfileEducation = ({
|
||||
</div>
|
||||
);
|
||||
|
||||
|
||||
|
||||
export default ProfileEducation;
|
||||
|
||||
Reference in New Issue
Block a user