Skip to content

junonetwork/react-window

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Window

Draggable window management for react.

example

Examples

import React from 'react';
import { render } from 'react-dom';
import Window from 'react-window';


render((
  <Window>
    {[
      <div className="window" key="one">One</div>,
      [
        <div className="window" key="two">Two</div>,
        <div className="window" key="three">Three</div>,
        [
          <div className="window" key="four">Four</div>,
          <div className="window" key="five">Five</div>,
          <div className="window" key="six">Six</div>,
        ]
      ]
    ]}
  </Window>
), document.getElementById('root'));

Installation

npm install

Development

npm run dev

Build

npm run validate && npm run build

See Also

About

draggable window management for react

Resources

Stars

Watchers

Forks

Packages

No packages published