@404pagez/react
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

@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

simple404

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

Warning404

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

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

cat404

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

Blocked404

blocked404

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

Pepe404

pepe404

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

Contact

Twitter URL

License

MIT

Package Sidebar

Install

npm i @404pagez/react

Weekly Downloads

3

Version

0.1.1

License

ISC

Unpacked Size

50.2 kB

Total Files

56

Last publish

Collaborators

  • h-e