/** * External dependencies */ import { __ } from '@wordpress/i18n'; import GridiconCheckmarkCircle from 'gridicons/dist/checkmark-circle'; import GridiconSync from 'gridicons/dist/sync'; import GridiconNotice from 'gridicons/dist/notice'; import classnames from 'classnames'; /** * Internal dependencies */ import { SyncStatusType } from '~/marketing/types'; import { iconSize } from './iconSize'; import './SyncStatus.scss'; type SyncStatusPropsType = { status: SyncStatusType; }; const className = 'woocommerce-marketing-sync-status'; export const SyncStatus: React.FC< SyncStatusPropsType > = ( { status } ) => { if ( status === 'failed' ) { return (