UNPKG

@hhgtech/hhg-components

Version:
22 lines (21 loc) 768 B
import React from 'react'; import { ButtonProps } from "../../../../../mantine"; import { HealthToolFormWrapperProps } from "../../formWrapper"; export declare enum OvulationCalculatorType { trackPeriod = 0, conceive = 1, avoidPregnancy = 2 } export type OvulationFormValue = { calculatorType?: string; lastPeriodDate?: Date; periodLength?: number; cycleLength?: number; }; export type OvulationFormProps = { isMobile?: boolean; onSubmit?: (v: OvulationFormValue) => void; submitProps?: ButtonProps; currentUrl?: string; } & HealthToolFormWrapperProps; export declare const OvulationForm: ({ formLayout, submitProps, currentUrl, isMobile, onSubmit, ...props }: OvulationFormProps) => React.JSX.Element;