UNPKG

json-joy

Version:

Collection of libraries for building collaborative editing apps.

12 lines 590 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FormattingNew = void 0; const tslib_1 = require("tslib"); const React = tslib_1.__importStar(require("react")); const FormattingNewGeneric_1 = require("./FormattingNewGeneric"); const FormattingNew = (props) => { const Edit = props.formatting.behavior.data().Edit; return Edit ? React.createElement(Edit, { isNew: true, ...props }) : React.createElement(FormattingNewGeneric_1.FormattingNewGeneric, { ...props }); }; exports.FormattingNew = FormattingNew; //# sourceMappingURL=FormattingNew.js.map