///
import { Ferieuttak } from './types';
export interface FerieuttakFormLabels {
title: string;
fromDate: string;
toDate: string;
intervalTitle: string;
okButton: string;
cancelButton: string;
}
interface Props {
minDate: Date;
maxDate: Date;
ferieuttak?: Partial;
alleFerieuttak?: Ferieuttak[];
labels?: Partial;
onSubmit: (values: Ferieuttak) => void;
onCancel: () => void;
}
export declare const FerieuttakFormErrors: {
fom: {
dateHasNoValue: string;
fromDateIsAfterToDate: string;
dateHasInvalidFormat: string;
dateIsBeforeMin: string;
dateIsAfterMax: string;
};
tom: {
dateHasNoValue: string;
toDateIsBeforeFromDate: string;
dateHasInvalidFormat: string;
dateIsBeforeMin: string;
dateIsAfterMax: string;
};
};
declare const FerieuttakForm: ({ maxDate, minDate, labels, ferieuttak, alleFerieuttak, onSubmit, onCancel }: Props) => JSX.Element;
export default FerieuttakForm;