1.0.0 • Published 3 years ago

@bertonjs/craft-layers v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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