@hhgtech/hhg-components
Version:
Hello Health Group common components
17 lines (16 loc) • 638 B
TypeScript
import { ReactElement } from 'react';
import { UseFormReturnType } from '@mantine/form';
import { ButtonProps } from "../../../../../mantine";
import { OvulationFormValue } from "./";
export type OvulationFormContextType = {
form: UseFormReturnType<OvulationFormValue, (values: OvulationFormValue) => OvulationFormValue>;
submitProps?: ButtonProps;
currentUrl?: string;
isMobile?: boolean;
calculatingMethods?: {
label: string;
value: string | number;
icon: ReactElement;
}[];
};
export declare const OvulationFormContext: import("react").Context<OvulationFormContextType>;