@hhgtech/hhg-components
Version:
Hello Health Group common components
25 lines (24 loc) • 721 B
TypeScript
export type SiteWideBannerTypeApi = {
content: string;
icon: string;
link: string;
sitewide_type: 'icon-text' | 'banner';
banner_desktop?: string;
banner_mobile?: string;
background_color?: string;
banner_display_frequency?: string;
exclude_risk_screener?: boolean;
};
export type Frequency = 'daily' | 'weekly' | 'bi-weekly';
export type SiteWideBannerType = {
content: string;
icon: string;
link: string;
type: 'article' | 'category' | 'home' | 'other';
layoutType: 'icon-text' | 'banner';
bannerDesktop: string;
bannerMobile: string;
backgroundColor: string;
bannerDisplayFrequency: Frequency;
excludeBot: boolean;
};