cv/src/app/components/Education.tsx
2023-05-27 05:25:48 +02:00

17 lines
390 B
TypeScript

import React from 'react';
import { usePersonContext } from '../hooks/PersonContext';
import JobHistory from './JobHistory';
export default function WorkExperience() {
const person = usePersonContext()
return person.education ? (
<JobHistory
jobs={person.education}
heading='Education'
currentHeading='Currently studying'
/>
) : <></>
}