saltcorn-craft-layers-noeye
v0.1.0-beta.22
Published
A Photoshop-like layers panel for your page editor
Downloads
1,413
Maintainers
Readme
Usage
yarn add @craftjs/layers styled-components
import React from "react";
import {Editor} from "@craftjs/core"
import {Layers} from "@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>
);
}