@jwhenry/react-windows
v1.0.8
Published
movable and focusable windows
Downloads
3
Readme
react-windows
movable and focusable windows
Install
npm install --save react-windows
Usage
import React, { Component } from 'react'
import {Panel, Panels, setComponent} from '@jwhenry/react-windows';
export default MyComponent extends React.Component {
componentDidMount() {
setComponent('test', <Panel>{(focused) => <div>Content</div>}</Panel>);
}
render() {
return <Panels/>;
}
}
License
MIT © jwhenry3