// See https://developer.wordpress.org/block-editor/reference-guides/packages/packages-element/#createinterpolateelement

import { __ } from '@wordpress/i18n';
import { createInterpolateElement } from '@wordpress/element';

function MyComponent() {
    return createInterpolateElement(
        __( 'Please <Link>visit our site</Link> for more info.', 'text-domain' ),
        {
            Link: <a href="https://example.com" />,
        }
    );
}
