@hhgtech/hhg-components
Version:
Hello Health Group common components
18 lines (17 loc) • 751 B
TypeScript
import React, { HTMLAttributes } from 'react';
import { BabyVaccinationRecord, BabyVaccinationSchedule, Gender } from "../../../interfaces/types";
export type RecordsByAgeGroupProps = {
schedules: Array<BabyVaccinationSchedule>;
age: {
year: number;
month: number;
week: number;
};
name?: string;
onToggle?(status: boolean, record: BabyVaccinationRecord): void;
onTitleClick?(record: BabyVaccinationRecord): void;
gender?: Gender;
hideBanner?: boolean;
} & HTMLAttributes<HTMLDivElement>;
declare const RecordsByAgeGroup: ({ schedules, age, onToggle, onTitleClick, gender, hideBanner, name, ...rest }: RecordsByAgeGroupProps) => React.JSX.Element;
export { RecordsByAgeGroup };