json-rich-text
v1.3.1
Published
JRT; JSON-Rich-Text [WIP]
Downloads
12
Readme
json-rich-text
JRT; JSON-Rich-Text [WIP]
Install
npm install --save jrt
Usage
import React from "react";
import { Render } from "jrt";
import "jrt/dist/index.css";
function App() {
const [doc, setDoc] = React.useState([]);
return <Render doc={doc} onChange={(newDoc) => setDoc(newDoc)} />;
}
License
MIT © gadicc