/**
* External dependencies
*/
import { __ } from '@wordpress/i18n';
* Internal dependencies
import './style.scss';
import RecommendedExtensions from '../components/recommended-extensions';
import KnowledgeBase from '../components/knowledge-base';
import { getAdminSetting } from '~/utils/admin-settings';
import '../data';
const CouponsOverview = () => {
const allowMarketplaceSuggestions = getAdminSetting(
'allowMarketplaceSuggestions',
false
);
return (
<div className="woocommerce-marketing-coupons">
{ allowMarketplaceSuggestions && (
<RecommendedExtensions
title={ __(
'Recommended coupon extensions',
'woocommerce-admin'
) }
description={ __(
'Take your coupon marketing to the next level with our recommended coupon extensions.',
category="coupons"
/>
<KnowledgeBase
'Learn the ins and outs of successful coupon marketing from the experts at WooCommerce.',
</div>
};
export default CouponsOverview;