Newlywed Party Monsters

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

    0.2.0-beta.4 • Public • Published

    @craftjs/layers

    NPM

    A Photoshop-like layers panel for your page editor.

    Documentation

    Craft.js

    Workaround before this https://github.com/prevwong/craft.js/pull/425 get published

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

    Install

    npm i @jefrydco/craftjs-layers

    DownloadsWeekly Downloads

    3

    Version

    0.2.0-beta.4

    License

    MIT

    Unpacked Size

    359 kB

    Total Files

    29

    Last publish

    Collaborators

    • jefrydco