Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.16 KB

File metadata and controls

30 lines (23 loc) · 1.16 KB
section Extensions
subsection Component groups
id Missing page
source react
propComponents
MissingPage
sourceLink https://github.com/patternfly/react-component-groups/blob/main/packages/module/patternfly-docs/content/extensions/component-groups/examples/MissingPage/MissingPage.md

import MissingPage from '@patternfly/react-component-groups/dist/dynamic/MissingPage'; import { FunctionComponent } from 'react';

The missing page component can be used to display an error message and "return to homepage" button when an error occurs.

Examples

Basic missing page

A basic missing page component informs users that an error has occurred. It also includes a button link, which users can select to return to the homepage.