@hhgtech/hhg-components
Version:
Hello Health Group common components
24 lines (23 loc) • 823 B
TypeScript
import React from 'react';
import { OvulationInfo, ReviewedUserApi } from "../../../../together/interfaces/types";
export type Props = {
backgroundDesktopSrc?: string;
backgroundMobileSrc?: string;
ovulationContent: OvulationContent;
title: string;
className?: string;
reviewedBy?: OvulationInfo['reviewedBy'];
reviewedDate?: OvulationInfo['reviewedDate'];
isSide?: boolean;
};
type OvulationContent = {
featured_image: string;
information: {
title: string;
description: string;
}[];
reviewed_by?: ReviewedUserApi;
reviewed_date: string;
};
declare const HealthToolHeroBanner: ({ backgroundDesktopSrc, backgroundMobileSrc, title, className, isSide, ovulationContent, }: Props) => React.JSX.Element;
export { HealthToolHeroBanner };