@rhc-shared-components/error-page
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

A common error page component for a certified tech apps

Install

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

Usage

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'} />
    </>
  );
};

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

    Package Sidebar

    Install

    npm i @rhc-shared-components/error-page

    Weekly Downloads

    2

    Version

    1.0.0

    License

    none

    Unpacked Size

    154 kB

    Total Files

    6

    Last publish

    Collaborators

    • bdone
    • gkr-redhat
    • eyevana
    • shkale
    • kipatil-1
    • recampos
    • ayushi_midha
    • swsoni