@hhgtech/hhg-components
Version:
Hello Health Group common components
16 lines (15 loc) • 558 B
TypeScript
import React from 'react';
import { ButtonProps } from "../../../../../mantine";
import { HealthToolFormWrapperProps } from "../../formWrapper";
export type PWGFormProps = {
onSubmit?: (v: PWGFormValue) => void;
submitProps?: ButtonProps;
} & HealthToolFormWrapperProps;
export type PWGFormValue = {
lastWeight?: number;
weight?: number;
height?: number;
pregnantWeek?: number;
hasTwin?: boolean;
};
export declare const PWGForm: ({ formLayout, submitProps, onSubmit, ...rest }: PWGFormProps) => React.JSX.Element;