# react-material-workspace-layout

> > This was hastily written, please PR with fixes :)

Latest version **1.0.10** (published 2021-12-17) · 0 weekly downloads

## Install

```sh
npm install react-material-workspace-layout
pnpm add react-material-workspace-layout
yarn add react-material-workspace-layout
bun add react-material-workspace-layout
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.10 |
| Published | 2021-12-17 |
| First published | 2020-05-28 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 33.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | seveibar, mrdadah |

## Links

- npm: https://www.npmjs.com/package/react-material-workspace-layout
- Repository: https://github.com/UniversalDataTool/react-material-workspace-layout
- Homepage: https://github.com/UniversalDataTool/react-material-workspace-layout#readme
- Issues: https://github.com/UniversalDataTool/react-material-workspace-layout/issues
- npm.io page: https://npm.io/package/react-material-workspace-layout

## Dependencies (10)

- [classnames](https://npm.io/package/classnames.md) ^2.2.6
- [@mui/styles](https://npm.io/package/@mui/styles.md) ^5.2.3
- [@mui/material](https://npm.io/package/@mui/material.md) ^5.2.3
- [@emotion/react](https://npm.io/package/@emotion/react.md) ^11.7.1
- [@emotion/styled](https://npm.io/package/@emotion/styled.md) ^11.6.0
- [react-resize-panel](https://npm.io/package/react-resize-panel.md) ^0.3.5
- [use-event-callback](https://npm.io/package/use-event-callback.md) ^0.1.0
- [@mui/icons-material](https://npm.io/package/@mui/icons-material.md) ^5.2.1
- [react-use-dimensions](https://npm.io/package/react-use-dimensions.md) ^1.2.1
- [@seveibar/react-resize-panel](https://npm.io/package/@seveibar/react-resize-panel.md) ^0.3.7

## Recent versions

- 1.0.10 (latest) — 2021-12-17
- 1.0.9 — 2020-12-19
- 1.0.8 — 2020-12-14
- 1.0.7 — 2020-12-14
- 1.0.6 — 2020-12-14
- 1.0.5 — 2020-12-13
- 1.0.4 — 2020-12-13
- 1.0.3 — 2020-12-13
- 1.0.2 — 2020-09-24
- 1.0.1 — 2020-09-14
- 1.0.0 — 2020-09-14
- 0.2.0 — 2020-09-09
- 0.1.17 — 2020-08-04
- 0.1.16 — 2020-08-02
- 0.1.15 — 2020-08-02
- … 15 more at https://npm.io/package/react-material-workspace-layout/versions

## README

# React Material Workspace Layout

> This was hastily written, please PR with fixes :)

## Installation and Usage

`yarn add react-material-workspace-layout`

```javascript
import Workspace from "react-material-workspace-layout/Workspace" 
import SidebarBox from "react-material-workspace-layout/SidebarBox"

<Workspace
    allowFullscreen
    headerItems={[{ name: "Prev" }, { name: "Next" }, { name: "Save" }]}
    onClickHeaderItem={console.log}
    onClickIconSidebarItem={console.log}
    iconSidebarItems={[
      {
        name: "Play",
      },
      {
        name: "Pause",
      },
    ]}
    rightSidebarItems={[
      <SidebarBox icon={<FeaturedVideoIcon />} title="Region Selector">
        Hello world!
      </SidebarBox>,
    ]}
  >
    Hello World, this is the main content where an image or something might go!
  </Workspace>
```

## Props

### <Workspace />

| Prop | Description | Example | Default |
| ---- | ----------- | ------- | ------- |
|`allowFullscreen` | Enables a full screen button |  | `false` |
| `headerItems` | | | |
| `onClickHeaderItem` | | |
| `onClickIconSidebarItem` | | |
| `iconSidebarItems` | | |
| `rightSidebarItems` | | |

---
_Source: https://npm.io/package/react-material-workspace-layout · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
