UNPKG

@hhgtech/hhg-components

Version:
17 lines (16 loc) 708 B
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;