UNPKG

mod-arch-shared

Version:

Shared library for modular architecture micro-frontend projects

10 lines 961 B
import * as React from 'react'; import { HomeIcon, PathMissingIcon } from '@patternfly/react-icons'; import { Button, EmptyState, EmptyStateBody, EmptyStateFooter, EmptyStateVariant, PageSection, } from '@patternfly/react-core'; const NotFound = () => (React.createElement(PageSection, { hasBodyWrapper: false }, React.createElement(EmptyState, { headingLevel: "h2", icon: PathMissingIcon, titleText: "We can\u2018t find that page", variant: EmptyStateVariant.full, "data-testid": "not-found-page" }, React.createElement(EmptyStateBody, { "data-testid": "not-found-page-description" }, "Another page might have what you need. Return to the home page."), React.createElement(EmptyStateFooter, null, React.createElement(Button, { icon: React.createElement(HomeIcon, null), "data-testid": "home-page-button", component: "a", href: "/", variant: "primary" }, "Home"))))); export default NotFound; //# sourceMappingURL=NotFound.js.map