import React from 'react'; import { Layer, Tile } from '@carbon/react'; import { Trans } from 'react-i18next'; import { EmptyDataIllustration } from './empty-data-illustration.component'; import { useLayoutType } from '@openmrs/esm-framework'; import styles from './empty-state.scss'; export interface EmptyStateProps { displayText: string; headerTitle: string; launchForm?(): void; } export const EmptyState: React.FC = ({ headerTitle, displayText, launchForm }) => { const isTablet = useLayoutType() === 'tablet'; return (

{headerTitle}

There are no {{ displayText } as any} to display

); };