UNPKG

@hhgtech/hhg-components

Version:
18 lines (17 loc) 634 B
import React from 'react'; import { ButtonProps } from "../../../../../mantine"; import { Gender } from "../../../../../types"; import { HealthToolFormWrapperProps } from "../../formWrapper"; export type ThrFormValue = { gender?: Gender; age?: Date; heartRate?: number; minRange?: number; activeValue?: string; }; export type ThrFormProps = { onSubmit: (v: ThrFormValue) => void; onError?: () => void; submitProps?: ButtonProps; } & HealthToolFormWrapperProps; export declare const ThrForm: ({ formLayout, onSubmit, onError, submitProps, ...rest }: ThrFormProps) => React.JSX.Element;