@webstencils/layers
v0.6.0
Published
A Photoshop-like layers panel for your page editor
Downloads
2
Maintainers
Readme
@webstencils/layers
A Photoshop-like layers panel for your page editor.
Usage
yarn add @webstencils/layers styled-components
import React from "react";
import { Editor } from "@webstencils/core";
import { Layers } from "@webstencils/layers";
export default function App() {
return (
<div style={{margin: "0 auto", width: "800px"}}>
<Typography variant="h5" align="center">A super simple page editor</Typography>
<Editor resolver={/*...*/}>
<Layers />
</Editor>
</div>
);
}