File tree Expand file tree Collapse file tree 4 files changed +44
-38
lines changed
Expand file tree Collapse file tree 4 files changed +44
-38
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 55 EmptyState ,
66 EmptyStateBody ,
77 EmptyStateFooter ,
8+ EmptyStateHeader ,
9+ EmptyStateIcon ,
810 PageSection ,
911} from '@patternfly/react-core' ;
1012import { 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't find a page that matches the address you navigated to.
2831 </ EmptyStateBody > < EmptyStateFooter >
Original file line number Diff line number Diff line change 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
2123let 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" >
You can’t perform that action at this time.
0 commit comments