@hhgtech/hhg-components
Version:
Hello Health Group common components
17 lines (16 loc) • 708 B
TypeScript
import React, { ReactNode } from 'react';
import { ToolContent } from "../../../../together/interfaces/types";
import { HealthToolFormWrapperProps } from "../../healthTools/formWrapper";
import { BmiFormProps, BmiFormValue, BMIUnit, Rule } from "../helpers";
export type BMICardEmbedProps = {
bmiContent: ToolContent;
children?: ReactNode;
formProps?: BmiFormProps;
bmiGenerated?: Record<keyof BmiFormValue, {
label: string;
rule?: Rule;
}>;
bmiUnit?: BMIUnit;
bmiLink?: string;
} & HealthToolFormWrapperProps;
export declare const BMICardEmbed: ({ bmiContent, bmiGenerated, bmiUnit, formProps, ...props }: BMICardEmbedProps) => React.JSX.Element;