A React component that sets its children to fullscreen using the Fullscreen API.
npm install fullscreen-reactA React component that sets its children to fullscreen using the Fullscreen API.
``bash`
yarn add fullscreen-react
`javascript`
import Fullscreen from 'fullscreen-react';
`jsx
import React, { useState } from "react";
import Fullscreen from "fullscreen-react";
function App() {
const [isEnter, setIsEnter] = useState(false);
return (
Hi! This may cover the entire monitor.
export default App;
``