UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

66 lines (65 loc) 1.79 kB
/** * @file index.tsx * * @fileoverview Shows the users Education list. */ import React from 'react'; export interface EducationListProps { /** * The list of education items. */ education: EducationItem[]; /** * Item to render for clicking all collection. */ OnClickElement?: React.ReactNode; /** * Item to render for clicking one item. */ OnItemClickElement?: (id: number) => React.ReactNode; } export interface EducationItem { /** * A unique identifier for this education item. Important for handling click * on this item. */ id: number; /** * The degree level that was obtained. */ degree?: string; /** * The name of the university or scool where the degree was obtained. */ institution?: string; /** * The time period for when the degree was obtained. * * @todo: Is it better to use some sort of date object? */ timePeriod?: string; /** * The program the applicant participated on. */ fieldOfStudy?: string[]; /** * Location of the job. */ location?: string; /** * A long text containing some additional description. */ summary?: string; } interface StudyProps { degree: string; fieldOfStudy: string[]; } export declare const Study: ({ degree, fieldOfStudy }: StudyProps) => JSX.Element; export declare const Education: ({ degree, institution, timePeriod, location, fieldOfStudy, summary }: EducationItem) => JSX.Element; /** * Shows a list of an applicant's education background. * Used to display on a resume page.` */ export declare const EducationList: ({ education, OnClickElement, OnItemClickElement }: EducationListProps) => JSX.Element; export default EducationList;