@404pagez/react
Version:
This is templates of 404page for React
131 lines (92 loc) • 4.36 kB
Markdown
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.
```
npm install @404pagez/react
```
```javascript
import { Simple404 } from "@404pagez/react";
const NotFound = () => {
return (
<div>
<Simple404 size={20} isButton={false} />
</div>
);
};
```
- [Simple404](
- [Warning404](
- [Section404](
- [Cat404](
- [Blocked404](
- [Pepe404](
<img src="https://user-images.githubusercontent.com/9592408/168017258-c1ed6816-522e-4e84-b832-24c7ec1a967a.png" alt="simple404" width="400" />
| props | type | |
| ------------- | ---------- | -------------------- |
| size | number | required |
| onButtonClick | () => void | optional |
| isButton | boolean | optional |
| buttonLabel | string | optional |
| buttonColor | string | optional(ex:
<br />
<img src="https://user-images.githubusercontent.com/9592408/168017173-ece897ad-e26f-416d-afd4-f4b4ad06d398.png" alt="warning404" width="400" />
| props | type | |
| ------------- | ---------- | -------------------- |
| size | number | required |
| onButtonClick | () => void | optional |
| isButton | boolean | optional |
| buttonLabel | string | optional |
| buttonColor | string | optional(ex:
| color | string | optional(ex:
<br />
<img src="https://user-images.githubusercontent.com/9592408/168016963-a5df4b59-45d8-4208-84d9-8ecf64a2c125.png" alt="section404" width="400"/>
| props | type | |
| ------------- | ---------- | -------------------- |
| size | number | required |
| onButtonClick | () => void | optional |
| isButton | boolean | optional |
| buttonLabel | string | optional |
| buttonColor | string | optional(ex:
| color | string | optional(ex:
<br />
<img src="https://user-images.githubusercontent.com/9592408/168426426-dd27e757-2ef6-4616-b124-ff26dabac793.png" alt="cat404" width="400"/>
| props | type | |
| ------------- | ---------- | -------------------- |
| size | number | required |
| onButtonClick | () => void | optional |
| isButton | boolean | optional |
| buttonLabel | string | optional |
| buttonColor | string | optional(ex:
<br />
<img src="https://user-images.githubusercontent.com/9592408/168426472-aef63d45-6002-4299-8401-91f0d10b6401.png" alt="blocked404" width="400"/>
| props | type | |
| ------------- | ---------- | -------------------- |
| size | number | required |
| onButtonClick | () => void | optional |
| isButton | boolean | optional |
| buttonLabel | string | optional |
| buttonColor | string | optional(ex:
<br />
<img src="https://user-images.githubusercontent.com/9592408/168944793-115f0a2e-dfab-40e1-9c38-69d3eaa5626f.png" alt="pepe404" width="400"/>
| props | type | |
| ------------- | ---------- | -------------------- |
| size | number | required |
| onButtonClick | () => void | optional |
| isButton | boolean | optional |
| buttonLabel | string | optional |
| buttonColor | string | optional(ex:
<br />
[](https://twitter.com/hee_dev)
<a href="https://github.com/404pagez/react/blob/HEAD/LICENSE">MIT</a>
This