Run `npx @patternfly/pf-codemods@latest src --v6 --fix` and lint autofix to get the bulk of the changes in.
15 lines
298 B
TypeScript
15 lines
298 B
TypeScript
import React from 'react';
|
|
|
|
import { EmptyState, Spinner, Bullseye } from '@patternfly/react-core';
|
|
|
|
export const Loading = () => {
|
|
return (
|
|
<Bullseye>
|
|
<EmptyState
|
|
headingLevel="h4"
|
|
icon={Spinner}
|
|
titleText="Loading"
|
|
></EmptyState>
|
|
</Bullseye>
|
|
);
|
|
};
|