17 lines
390 B
TypeScript
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'
|
|
/>
|
|
) : <></>
|
|
}
|