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)

60 lines (59 loc) 1.32 kB
/** * @file index.test.tsx * * @fileoverview The JobDetail component. */ import React from 'react'; export interface JobDetailProps { /** * The logo for the job detail. */ picture: { url: string; title: string; alt: string; }; /** * Title for the job. */ title: string; /** * Company for the job. */ company?: string; /** * The location of this job. */ location: string; /** * Formatted occupation fields. */ occupation: string; /** * IF the container should be completely filled by the job. */ fullContainer?: boolean; /** * The element to use as the title * * @default "h1" */ titleElement?: string; /** * Children should be the description for the job. */ children: React.ReactNode; /** * Action buttons for the job. */ actions?: React.ReactNode; /** * Edit link for the job. */ edit?: React.ReactNode; } /** * The job detail presents information about a job when * the user clicks on a job in the search to visit it. */ export declare const JobDetail: ({ picture, title, company, location, occupation, children, edit, actions, titleElement, fullContainer }: JobDetailProps) => JSX.Element;