Skip to content

sdjdd/react-full-window

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-full-window

Install

npm i react-full-window

Usage

import { useState } from 'react';
import { FullWindow } from 'react-full-window';

const Component = () => {
  const [enabled, setEnabled] = useState(false);

  return (
    <FullWindow enabled={enabled}>
      <button onClick={() => setEnabled(!enabled)}>
        Toggle full window
      </button>
    </FullWindow>
  )
};

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published