@businessandemotions/lemonade-core

1.1.2 • Public • Published

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:8080 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

Docs

Hooks

import { useLemonade } from "@businessandemotions/lemonade-core/Editor";
const Lemonade = useLemonade();
Property Description
content Contains the useContent value, which tracks and modifies the state.
selected Currently selected componentent (Meaning showing sidebar settings).
setSelected Function to set or unset selected component.
hover Currently hovering over componentent (Meaning showing controlls).
setHover Function to set or unset hover component.
dragging Current componentent being dragged.
setDragging Function to set or unset currently dragging component.

/@businessandemotions/lemonade-core/

    Package Sidebar

    Install

    npm i @businessandemotions/lemonade-core

    Weekly Downloads

    2

    Version

    1.1.2

    License

    ISC

    Unpacked Size

    929 kB

    Total Files

    53

    Last publish

    Collaborators

    • businessandemotionsadmin