missing-person
v1.1.3
Published
A simple 404 page that displays missing persons data instead of the same ole 404
Downloads
5
Maintainers
Readme
missing-person-404
A simple 404 page that displays missing persons data instead of the same ole 404
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