UNPKG

@hhgtech/hhg-components

Version:
16 lines (15 loc) 571 B
/// <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>;