6.1.7 • Published 4 months ago
new_ns_workflow_workspace v6.1.7
React Material Workspace Layout
This was hastily written, please PR with fixes :)
Installation and Usage
yarn add react-material-workspace-layout
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
Prop | Description | Example | Default |
---|---|---|---|
allowFullscreen | Enables a full screen button | false | |
headerItems | |||
onClickHeaderItem | |||
onClickIconSidebarItem | |||
iconSidebarItems | |||
rightSidebarItems |
6.1.2
4 months ago
6.1.4
4 months ago
6.1.3
4 months ago
7.0.6
4 months ago
7.0.5
4 months ago
8.0.2
4 months ago
6.1.6
4 months ago
6.1.5
4 months ago
6.1.7
4 months ago
7.0.4
4 months ago
7.0.2
4 months ago
7.0.0
4 months ago
7.0.1
4 months ago
6.0.1
1 year ago
6.0.0
1 year ago
6.0.3
1 year ago
6.0.4
1 year ago
5.0.8
1 year ago
5.0.7
1 year ago
5.0.6
1 year ago
5.0.5
1 year ago
5.0.3
1 year ago
5.0.2
1 year ago
5.0.1
1 year ago
4.0.6
1 year ago
4.0.0
1 year ago