enduthemepack
TypeScript icon, indicating that this package has built-in type declarations

1.0.12 • Public • Published

@e2e-cxs/components User Guide

Commands

To use inside a project please install the package first:

  npm install @e2e-cxs/components

To use the component inside project:

  import { ErrorPage } from '@e2e-cxs/components'

props to pass to the component

  • errorCode - this might be (404, 500, 401 or 404) - should be string value
  • applicationKey - this the current application key used to access - should be string value
  • gatewayUrl - get the current env variable and pass it to the component - should be string value

If those props value are ready then pass to the error component to render the value

  <ErrorPage errorCode={errorCode} applicationKey={applicationKey} gatewayUrl={gatewayUrl}/>

Note: If image is available the component will render the image and the message. If not will show generic error message for authorization related issue and not found page.

Readme

Keywords

none

Package Sidebar

Install

npm i enduthemepack

Weekly Downloads

0

Version

1.0.12

License

MIT

Unpacked Size

70.8 kB

Total Files

25

Last publish

Collaborators

  • endu