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

1.0.11 • 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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.111latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.111

Package Sidebar

Install

npm i endupack22

Weekly Downloads

1

Version

1.0.11

License

MIT

Unpacked Size

69.6 kB

Total Files

25

Last publish

Collaborators

  • endu