@tomas-c/craftjs-layers
v0.2.2
Published
A Photoshop-like layers panel for your page editor
Downloads
3
Maintainers
Readme
Usage
yarn add @tomas-c/craftjs-layers styled-components
import React from "react";
import {Editor} from "@tomas-c/craftjs-core"
import {Layers} from "@tomas-c/craftjs-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>
);
}