jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
60 lines (59 loc) • 1.32 kB
TypeScript
/**
* @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;