@hhgtech/hhg-components
Version:
Hello Health Group common components
56 lines (53 loc) • 2.35 kB
JavaScript
import { _ as __rest } from './tslib.es6-7984ef17.js';
import React__default from 'react';
import { H as HealthToolCardWrapper } from './index-34089895.js';
import { B as BabyPoopForm } from './index-69c0a211.js';
import '@mantine/core';
import '@hhgtech/icons/other';
import './index-cafbd842.js';
import '@mantine/hooks';
import './index-b36b2caa.js';
import './constantsDomainLocales.js';
import './Locale-d401e4f0.js';
import './constantsIsProduction.js';
import './text-908bab85.js';
import './index-2558182c.js';
import './utils-7cb7f4d8.js';
import '@emotion/styled';
import '@mantine/carousel';
import './index-f28ed80d.js';
import './index-87c5a102.js';
import 'dayjs';
import './index-539ab53a.js';
import '@mantine/notifications';
import './index-18cb16b6.js';
import 'date-fns/locale';
import './constantsSite.js';
import './constantsRiskScreener.js';
import './miscTheme.js';
import './shared-41a6c7dc.js';
import 'classnames';
import 'uuid';
import './useUniqueId-30dd6f86.js';
import '@emotion/react';
import '@hhgtech/icons/core';
import './index-141afb90.js';
import '@mantine/dates';
import './index.styles-50872c8c.js';
import './index-47a94d34.js';
import './translationsContext-573d0b98.js';
import './index-36cc3053.js';
import './miscDefaultClassWrapper.js';
const BabyPoopEmbed = (_a) => {
var { babyPoopPage, formProps } = _a, props = __rest(_a, ["babyPoopPage", "formProps"]);
const { reviewedBy, reviewedDate } = babyPoopPage || {};
return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { alt: "health-tool-icon", src: babyPoopPage === null || babyPoopPage === void 0 ? void 0 : babyPoopPage.featuredImage, loading: "lazy" }), heading: babyPoopPage.title, medicalReview: {
link: reviewedBy === null || reviewedBy === void 0 ? void 0 : reviewedBy.profileUrl,
reviewer: reviewedBy === null || reviewedBy === void 0 ? void 0 : reviewedBy.displayName,
date: reviewedDate,
} }),
React__default.createElement(HealthToolCardWrapper.Body, null,
React__default.createElement(BabyPoopForm, Object.assign({ babyPoopPage: babyPoopPage }, formProps)))));
};
export { BabyPoopEmbed };