0.0.2 • Published 8 months ago

@licuido-ui/ui_error-page v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

ErrorPage

As a developer, handling 404 errors means creating a page that the server uses as a replacement when it can't find the requested page.

Author

Link

Story Book Link ErrorPage

PlayGround

Try it have a fun codeBox

Installation

npm i  @licuido-ui/ui_error-page

Import component

import { ErrorPage } from '@licuido-ui/ui_error-page';

Usage

<ErrorPage pageNotFoundText={'Page Not Found'} />

Image

alt text

Sample Code

<ErrorPage
  urlImgHeight={300}
  urlImgWidth={300}
  pageNotFoundText={'Page Not Found'}
  goBackButton={{ label: 'Back', style: { color: '#ffff' } }}
  pageNotFoundIconUrl='https://img.freepik.com/free-vector/internet-network-warning-404-error-page-file-found-web-page-internet-error-page-issue-found-network-404-error-present-by-man-sleep-display_1150-55450.jpg'
/>

Props

NameDescriptionDefaultControl
pageNotFoundIconUrlstring""https://cdni.iconscout.com/illustration/premium/thumb/error-404-page-3100465-2582986.png
pageNotFoundIconComponentReactNode--
goBackButtonobject{ label: string; onClick: () => void; }object{}
pageNotFoundTextstringPage not found !!!Page not found !!!
urlImgHeightnumber-
urlImgWidthnumber-
urlImgStyleSxProps{ }urlImgStyle : {}
ButtonBlockStyleSxProps<{}>{ }ButtonBlockStyle : {}
messageTextStyleSxProps<{}>{ }{}
rootStyleSxProps<{}>{ }rootStyle : {}
iconBlockStyleSxProps<{}>{ }iconBlockStyle : {}
classNamestring""Set string
idstringstringstring
sxSxProps<Theme>{ }Set object