import React, { FC } from 'react'; import AUShortCutComponent from './AUShortCutComponent'; export interface IDynamicContentLink { title: string; description: string; url: string; linkType: 'system' | 'information'; } export interface IDynamicContentVideo { type: 'video'; url: string; } export interface IDynamicContentImage { type: 'image'; url: string; altText: string; caption?: string; linkUrl?: string; } export interface IDynamicContentInfoBox { type: 'infoBox'; htmlContent: string; } export type IDynamicContentFeaturedContent = | IDynamicContentVideo | IDynamicContentImage | IDynamicContentInfoBox; export interface IDynamicContentProps { name: string; featuredContentDescription: string; links: IDynamicContentLink[]; featuredContent: IDynamicContentFeaturedContent; } const FeaturedVideo: FC<{ content: IDynamicContentVideo; title: string; }> = ({ content, title }) => (