JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 24
  • Score
    100M100P100Q50376F
  • License ISC

This is templates of 404page for React

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

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