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