import { Button } from '@automattic/components'; import { external, Icon } from '@wordpress/icons'; import { useTranslate } from 'i18n-calypso'; import DocumentHead from 'calypso/components/data/document-head'; type Props = { featureText: string | React.ReactNode; link: string; linkLabel: string; captionText: string; }; export function JetpackPluginsPreview( { featureText, link, linkLabel, captionText }: Props ) { const translate = useTranslate(); return ( <>

{ featureText }

{ captionText }

); }