@tomas-c/craftjs-layers
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

@tomas-c/craftjs-layers

NPM

A Photoshop-like layers panel for your page editor.

Documentation

Craft.js

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>
  );
}

Package Sidebar

Install

npm i @tomas-c/craftjs-layers

Weekly Downloads

0

Version

0.2.2

License

MIT

Unpacked Size

249 kB

Total Files

72

Last publish

Collaborators

  • tomas-c