@glue42/workspaces-ui-react

React version of the workspaces ui component.

Usage no npm install needed!

<script type="module">
  import glue42WorkspacesUiReact from 'https://cdn.skypack.dev/@glue42/workspaces-ui-react';
</script>

README

@glue42/workspaces-ui-react

React version of workspaces

Install

npm install --save @glue42/workspaces-ui-react @glue42/react-hooks

Usage

import React, { Component } from 'react'
import Workspaces from '@glue42/workspaces-ui-react'
import "@glue42/workspaces-ui-react/dist/styles/popups.css";
import "@glue42/workspaces-ui-react/dist/styles/goldenlayout-base.css";
import "@glue42/workspaces-ui-react/dist/styles/glue42-theme.css";

class Example extends Component {
  render() {
    return <Workspaces />
  }
}

License

MIT ©