@bitmetro/react-page-editor
v0.0.25
Published

Downloads
36
Maintainers
Readme
@bitmetro/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-editorUsage
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 startAnd navigate to http://localhost:8787
Documentation
// Todo 🤙
