diff --git a/libs/ui-lib/lib/common/components/ui/DeveloperPreview.tsx b/libs/ui-lib/lib/common/components/ui/DeveloperPreview.tsx index 40ce0c72c4..2803dc9e54 100644 --- a/libs/ui-lib/lib/common/components/ui/DeveloperPreview.tsx +++ b/libs/ui-lib/lib/common/components/ui/DeveloperPreview.tsx @@ -2,14 +2,14 @@ import React from 'react'; import { useTranslation } from '../../hooks/use-translation-wrapper'; import { PreviewBadge, PreviewBadgeProps } from './PreviewBadge'; -export type DeveloperPreviewProps = Omit; +export type DeveloperPreviewProps = Omit; export const DeveloperPreview: React.FC = (props) => { const { t } = useTranslation(); return ( = ({ position = PreviewBadgePosition.inline, className = 'pf-v5-u-ml-md', text, - popoverText, + popoverContent, externalLink, testId, }) => { @@ -39,7 +39,7 @@ export const PreviewBadge: React.FC = ({ } const bodyContent = ( <> -
{popoverText}
+
{popoverContent}
{externalLink && ( <> {t('ai:Learn more')} diff --git a/libs/ui-lib/lib/common/components/ui/TechnologyPreview.tsx b/libs/ui-lib/lib/common/components/ui/TechnologyPreview.tsx index 89debf8bb5..21ebf56c8f 100644 --- a/libs/ui-lib/lib/common/components/ui/TechnologyPreview.tsx +++ b/libs/ui-lib/lib/common/components/ui/TechnologyPreview.tsx @@ -5,7 +5,7 @@ import { PreviewBadge, PreviewBadgeProps } from './PreviewBadge'; export type TechnologyPreviewProps = Omit< PreviewBadgeProps, - 'text' | 'popoverText' | 'externalLink' + 'text' | 'popoverContent' | 'externalLink' >; export const TechnologyPreview: React.FC = (props) => { @@ -14,7 +14,7 @@ export const TechnologyPreview: React.FC = (props) => { return (