Package Exports
- @404pagez/react
- @404pagez/react/dist/cjs/index.js
- @404pagez/react/dist/esm/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@404pagez/react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@404pagez/react
This is a template of 404page for react.
Making 404 pages is more troublesome than I thought. just use a 404page template to save your time.
Install
npm install @404pagez/react
Usage
import { Simple404 } from "@404pagez/react";
const NotFound = () => {
return (
<div>
<Simple404 size={20} isButton={false} />
</div>
);
};
404pages
Props
Simple404

props | type | |
---|---|---|
size | number | required |
onButtonClick | () => void | optional |
isButton | boolean | optional |
buttonLabel | string | optional |
buttonColor | string | optional(ex:#ffffff) |
Warning404

props | type | |
---|---|---|
size | number | required |
onButtonClick | () => void | optional |
isButton | boolean | optional |
buttonLabel | string | optional |
buttonColor | string | optional(ex:#ffffff) |
color | string | optional(ex:#ffffff) |
Section404

props | type | |
---|---|---|
size | number | required |
onButtonClick | () => void | optional |
isButton | boolean | optional |
buttonLabel | string | optional |
buttonColor | string | optional(ex:#ffffff) |
color | string | optional(ex:#ffffff) |
Cat404

props | type | |
---|---|---|
size | number | required |
onButtonClick | () => void | optional |
isButton | boolean | optional |
buttonLabel | string | optional |
buttonColor | string | optional(ex:#ffffff) |
Blocked404

props | type | |
---|---|---|
size | number | required |
onButtonClick | () => void | optional |
isButton | boolean | optional |
buttonLabel | string | optional |
buttonColor | string | optional(ex:#ffffff) |
Pepe404

props | type | |
---|---|---|
size | number | required |
onButtonClick | () => void | optional |
isButton | boolean | optional |
buttonLabel | string | optional |
buttonColor | string | optional(ex:#ffffff) |