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

0.6.0 • Public • Published

@webstencils/layers

A Photoshop-like layers panel for your page editor.

Demo

Usage

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

Weekly Downloads

0

Version

0.6.0

License

Apache-2.0

Unpacked Size

1.3 MB

Total Files

30

Last publish

Collaborators

  • denysvuika