open-index/open-npm huggingface dataset:
npm package: @rhc-shared-components/error-page
Description: > A common error page component for a certified tech apps
Latest version: 2.0.3

# @rhc-shared-components/rhc-error-page

> A common error page component for a certified tech apps

## Install

```bash
npm install --save @rhc-shared-components/rhc-error-page
```

## Usage

```tsx
import React from 'react';
import { RHCErrorPage } from '@rhc-shared-components/rhc-error-page';
export const App: React.FC = () => {
  return (
    <>
      <RHCErrorPage errorStatus={403} />
      <RHCErrorPage errorStatus={404} />
      <RHCErrorPage errorStatus={500} />
      <RHCErrorPage errorStatus={403} />
      <RHCErrorPage errorStatus={403} />
      <RHCErrorPage errorStatus={600} />
      <RHCErrorPage mainMessage={'Big Message'} subMessage={'Small Message'} />
    </>
  );
};

```