react-screenfull
v0.1.2
Published
React Component wrapper over screenfull
Downloads
6
Readme
React-Screenfull - React Component wrapper over screenfull.js
A simple React component which uses screenfull.js to add fullscreen toggle capability to its child component.
Basic Usage
import Fullscreen from "react-screenfull";
<Fullscreen><h1>Click here and press F11 to make me fullscreen!</h1></Fullscreen>;
Use F11 when cursor is in the child component to go fullscreen!
Made with love and
https://github.com/sindresorhus/screenfull.js
https://www.bithound.io/github/survivejs/react-component-boilerplate
License
react-screenfull is available under MIT. See LICENSE for more details.