import { ExternalLink } from '@wordpress/components' import { createInterpolateElement } from '@wordpress/element' import { __ } from '@wordpress/i18n' import React, { useState } from 'react' import { shouldShowUpsell } from '../../utils/screen' import { Button } from './Button' export const UpsellBanner = () => { const [isDismissed, setIsDismissed] = useState(false) return isDismissed || !shouldShowUpsell() ? null :

{createInterpolateElement( __('Unlock cloud sync, snippet conditions, AI features and much more with Code Snippets Pro.', 'code-snippets'), { strong: } )}

{__('Get Started', 'code-snippets')}
}