react-screenfull

0.1.2 • Public • Published

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.

/react-screenfull/

    Package Sidebar

    Install

    npm i react-screenfull

    Weekly Downloads

    3

    Version

    0.1.2

    License

    MIT

    Last publish

    Collaborators

    • sukantgujar