@hhgtech/hhg-components
Version:
Hello Health Group common components
16 lines (15 loc) • 571 B
TypeScript
/// <reference types="react" />
import { Control } from 'react-hook-form';
import { ButtonProps } from "../../../../../mantine";
import { BmiFormValue, Rule } from "../../../embeddedHeathToolCards/helpers";
export type BmiFormContextType = {
control: Control<BmiFormValue, any>;
bmiGenerated: Record<keyof BmiFormValue, {
label: string;
rule?: Rule | undefined;
}>;
isTouched: boolean;
linkTool: string;
submitProps?: ButtonProps;
};
export declare const BmiFormContext: import("react").Context<BmiFormContextType>;