woocommerce/plugins/woocommerce-admin/client/marketing/components/knowledge-base/ReadBlogMessage.js

27 lines
578 B
JavaScript
Raw Normal View History

/**
* External dependencies
*/
import { __ } from '@wordpress/i18n';
import { Link } from '@woocommerce/components';
import interpolateComponents from 'interpolate-components';
const ReadBlogMessage = () => {
return interpolateComponents( {
mixedString: __(
'Read {{link}}the WooCommerce blog{{/link}} for more tips on marketing your store',
'woocommerce-admin'
),
components: {
link: (
<Link
type="external"
href="https://woocommerce.com/blog/marketing/coupons/"
target="_blank"
/>
),
},
} );
};
export default ReadBlogMessage;