@bertonjs/craft-layers
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@bertonjs/craft-layers

NPM

A Photoshop-like layers panel for your page editor.

Documentation

Craft.js

Usage

yarn add @bertonjs/craft-layers styled-components
import React from "react";
import {Editor} from "@bertonjs/craft-core"
import {Layers} from "@bertonjs/craft-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 @bertonjs/craft-layers

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

360 kB

Total Files

29

Last publish

Collaborators

  • jerryberton