diff --git a/packages/module/src/EmptyStateErrorMessage/EmptyStateErrorMessage.tsx b/packages/module/src/EmptyStateErrorMessage/EmptyStateErrorMessage.tsx index 2722b46..bb453e1 100644 --- a/packages/module/src/EmptyStateErrorMessage/EmptyStateErrorMessage.tsx +++ b/packages/module/src/EmptyStateErrorMessage/EmptyStateErrorMessage.tsx @@ -3,14 +3,14 @@ import ErrorState from "@patternfly/react-component-groups/dist/dynamic/ErrorSta import { EmptyStateProps } from '@patternfly/react-core'; import { PathMissingIcon } from '@patternfly/react-icons'; -export interface EmptyStateErrorMessageProps extends Omit { +export type EmptyStateErrorMessageProps = { /** Optional content to be rendered at the bottom of the error message. */ children?: React.ReactNode; /** Content to be rendered as the Title of the error message, below the image. */ title?: string; /** Content to be rendered as the description of the error below the title. */ bodyText?: string; -}; +} & Omit; export const EmptyStateErrorMessage: React.FunctionComponent = ({ title,