@bitmetro/react-page-editor
TypeScript icon, indicating that this package has built-in type declarations

0.0.25 • Public • Published

@bitmetro/react-page-editor

react page editor

An easy-to-use drag-and-drop content editor for React.

Note that this is currently a WIP and there may be breaking changes.

You can raise any issues or ask questions in the Github repo.

Installation

npm install --save @bitmetro/react-page-editor

Usage

const App = () => {
    const [state, setState] = React.useState(createPage());

    return <ContentEditor content={state} onChange={s => setState(s)} />;
};

Running the examples

Navigate into examples and then into one of the example projects, e.g. Basic, then:

npm install
npm start

And navigate to http://localhost:8787

Documentation

// Todo 🤙

Package Sidebar

Install

npm i @bitmetro/react-page-editor

Weekly Downloads

27

Version

0.0.25

License

none

Unpacked Size

164 kB

Total Files

155

Last publish

Collaborators

  • alastairzotos