import React from 'react'; import { InlineNotification } from '@carbon/react'; import { useTranslation } from 'react-i18next'; interface ValidationMessageProps { hasValidationErrors: boolean; publishedWithErrors: boolean; errorsCount: number; } const ValidationMessage: React.FC = ({ hasValidationErrors, publishedWithErrors, errorsCount, }) => { const { t } = useTranslation(); return publishedWithErrors ? ( ) : hasValidationErrors ? ( ) : ( ); }; export default ValidationMessage;