@hhgtech/hhg-components
Version:
Hello Health Group common components
9 lines (8 loc) • 600 B
TypeScript
import React from 'react';
import { ContainerProps } from '@mantine/core';
import { SurveyOrPremiumBannerContextType } from "./context";
export type Props = {
Wrapper?: React.FC<any>;
setShouldAcquisitionModalOpen?: () => void;
} & Omit<SurveyOrPremiumBannerContextType, 'acquisitionInfo' | 'isLoggedIn'> & ContainerProps;
export declare const SurveyOrPremiumBanner: ({ type, articleId, categoryIds, isMarketing, isSurveyType, hasPremiumBanner, currentUrl, isMobile, subcribeHealthStatus, setShouldAcquisitionModalOpen, onValueChange, source, Wrapper, }: Props) => React.JSX.Element;