From ce95fac6dd3f9e8dc35d755de9f1a643123e96cc Mon Sep 17 00:00:00 2001 From: nicolethoen Date: Mon, 18 Nov 2024 20:57:55 -0500 Subject: [PATCH] fix build errors --- .../src/EmptyStateErrorMessage/EmptyStateErrorMessage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,