missing-person

1.1.3 • Public • Published

missing-person-404

A simple 404 page that displays missing persons data instead of the same ole 404

NPM JavaScript Style Guide

Install

npm install --save missing-person

Usage

import React, { Component } from 'react'

import PageNotFound from 'missing-person'

class Example extends Component {
  render() {
    return <PageNotFound />
  }
}

Customizable features:

To change the background color of the header, buttons and button text:

<PageNotFound color='desired color value here' btnColor='purple' btnTxtColor='hot pink'>

To change search parameters to return children under the age of 18:

<PageNotFound child='true'>

Note that you must pass true as a string

The API will return 500 randomized records. The records are further randomized on the front end.

For any issues, or for feature requests please reach out to me:

rdturner40@gmail.com Git-hub: Too-Far Repo: Missing-Person

License

MIT © Too-Far

Package Sidebar

Install

npm i missing-person

Weekly Downloads

1

Version

1.1.3

License

MIT

Unpacked Size

48.1 kB

Total Files

7

Last publish

Collaborators

  • too-far