Skip to content

tacomanator/react-detect-print-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED Examples have been moved into the react-detect-print repository directly. This example is for an oudated version of react-detect-print.

Example usage of react-detect-print, a higher order component to detect if the page is being printed.

Running

npm install
npm start

Your browser should open to the address http://localhost:3000. Try printing and you should see that the value of printing changes to true on the printed page.

Releases

No releases published

Packages

No packages published