UNPKG

@hhgtech/hhg-components

Version:
21 lines (20 loc) 1.07 kB
import React from 'react'; import { BabyVaccinationDetail, SiteType } from "../../../interfaces/types"; import { DrawerProps } from "../../atoms"; export type BabyGrowthChooseProfileDrawerProps = { babyProfiles: Array<BabyVaccinationDetail['profile']> | null; onCreate?: VoidFunction; onAddMeasurement?: (id: string) => void; onSwitchProfile?: (id: string) => void; isMobile: boolean; isMyProfile?: boolean; currentProfileId?: string; buttonGroup?: Exclude<React.ReactNode, React.ReactPortal>; newBabyValue?: string; onNewBabyValueChange?: (v: string) => void; siteType?: SiteType; buttonText?: string; headerText?: string; } & DrawerProps; declare const BabyGrowthChooseProfileDrawer: ({ babyProfiles, currentProfileId, onClose, onCreate, onAddMeasurement, onSwitchProfile, open, isMobile, isMyProfile, buttonGroup, newBabyValue, onNewBabyValueChange, siteType, buttonText, headerText, ...rest }: BabyGrowthChooseProfileDrawerProps) => React.JSX.Element; export { BabyGrowthChooseProfileDrawer };