Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolethoen committed Nov 19, 2024
1 parent 2daa998 commit ce95fac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<EmptyStateProps, 'children' | 'titleText'> {
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<EmptyStateProps, 'children' | 'titleText'>;

export const EmptyStateErrorMessage: React.FunctionComponent<EmptyStateErrorMessageProps> = ({
title,
Expand Down

0 comments on commit ce95fac

Please sign in to comment.