Skip to content

A simple React Component that displays missing persons data instead of a typical 404 page

Notifications You must be signed in to change notification settings

Too-Far/missing-person-404

Repository files navigation

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:

[email protected] Git-hub: Too-Far Repo: Missing-Person

License

MIT © Too-Far

About

A simple React Component that displays missing persons data instead of a typical 404 page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published