/** * External dependencies */ import GridiconNotice from 'gridicons/dist/notice'; import clsx from 'clsx'; /** * Internal dependencies */ import { RegisteredChannel } from '~/marketing/types'; import { iconSize } from './iconSize'; import './IssueStatus.scss'; type IssueStatusPropsType = { registeredChannel: RegisteredChannel; }; const issueStatusClassName = 'woocommerce-marketing-issue-status'; export const IssueStatus: React.FC< IssueStatusPropsType > = ( { registeredChannel, } ) => { if ( registeredChannel.issueType === 'error' ) { return (