UNPKG

json-joy

Version:

Collection of libraries for building collaborative editing apps.

11 lines 483 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FormattingEdit = void 0; const tslib_1 = require("tslib"); const React = tslib_1.__importStar(require("react")); const FormattingEdit = (props) => { const Edit = props.formatting.behavior.data().Edit; return Edit ? React.createElement(Edit, { ...props }) : React.createElement("div", null, "no editor"); }; exports.FormattingEdit = FormattingEdit; //# sourceMappingURL=FormattingEdit.js.map