Skip to content

Commit 248be19

Browse files
committed
fix: update deps starting with PF
1 parent be48bc3 commit 248be19

File tree

4 files changed

+44
-38
lines changed

4 files changed

+44
-38
lines changed

package-lock.json

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@
7979
"webpack-merge": "^5.9.0"
8080
},
8181
"dependencies": {
82-
"@patternfly/react-core": "6.0.0-alpha.50",
83-
"@patternfly/react-icons": "6.0.0-alpha.19",
84-
"@patternfly/react-styles": "6.0.0-alpha.19",
82+
"@patternfly/react-core": "5.3.3",
83+
"@patternfly/react-icons": "5.3.2",
84+
"@patternfly/react-styles": "5.3.1",
8585
"@storybook/builder-webpack5": "^7.5.3",
8686
"react": "^18",
8787
"react-dom": "^18",

src/app/NotFound/NotFound.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import {
55
EmptyState,
66
EmptyStateBody,
77
EmptyStateFooter,
8+
EmptyStateHeader,
9+
EmptyStateIcon,
810
PageSection,
911
} from '@patternfly/react-core';
1012
import { useHistory } from 'react-router-dom';
@@ -22,7 +24,8 @@ const NotFound: React.FunctionComponent = () => {
2224

2325
return (
2426
<PageSection>
25-
<EmptyState titleText="404 Page not found" variant="full" icon={ExclamationTriangleIcon} >
27+
<EmptyState variant="full">
28+
<EmptyStateHeader titleText="404 Page not found" icon={<EmptyStateIcon icon={ExclamationTriangleIcon} />} headingLevel="h1" />
2629
<EmptyStateBody>
2730
We didn&apos;t find a page that matches the address you navigated to.
2831
</EmptyStateBody><EmptyStateFooter>

src/app/Support/Support.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import {
66
EmptyStateActions,
77
EmptyStateBody,
88
EmptyStateFooter,
9+
EmptyStateHeader,
10+
EmptyStateIcon,
911
EmptyStateVariant,
1012
PageSection,
1113
Text,
@@ -20,7 +22,8 @@ export interface ISupportProps {
2022
// eslint-disable-next-line prefer-const
2123
let Support: React.FunctionComponent<ISupportProps> = () => (
2224
<PageSection>
23-
<EmptyState variant={EmptyStateVariant.full} titleText="Empty State (Stub Support Module)" icon={CubesIcon} >
25+
<EmptyState variant={EmptyStateVariant.full}>
26+
<EmptyStateHeader titleText="Empty State (Stub Support Module)" icon={<EmptyStateIcon icon={CubesIcon} />} headingLevel="h1" />
2427
<EmptyStateBody>
2528
<TextContent>
2629
<Text component="p">

0 commit comments

Comments
 (0)