A simple 404 page that displays missing persons data instead of the same ole 404
npm install --save missing-person
import React, { Component } from 'react'
import PageNotFound from 'missing-person'
class Example extends Component {
render() {
return <PageNotFound />
}
}
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.
[email protected] Git-hub: Too-Far Repo: Missing-Person
MIT © Too-Far