UNPKG

lml-main

Version:

This is now a mono repository published into many standalone packages.

17 lines (16 loc) 680 B
import * as React from 'react'; import { JobFormModalProps } from '..'; import { JobModel } from '@lml/cosmo-ts-data'; import { PostJobFormModalProps, JobFormType } from '../../actions'; import { FormModel, ModalRootComponentProps } from 'cosmoui'; export interface JobFormModalProps extends ModalRootComponentProps { currentModal: { modalProps: PostJobFormModalProps; modalType: string; }; } export interface JobFormModalComponentProps extends JobFormModalProps { job: JobModel; submitJobForm: (formData: FormModel, jobFormType: JobFormType, baseJob: JobModel) => any; } export declare const JobFormModal: React.ComponentClass<JobFormModalProps>;