import{__assign as e}from"../../../node_modules/tslib/tslib.es6.js";import r,{useState as t,useCallback as a,Suspense as n}from"react";import{ParagraphView as l}from"./ParagraphView.js";var o=r.lazy((function(){return import("./ParagraphEdit.js")})),i=function(i){var m=t(!1),c=m[0],s=m[1],u=c&&void 0!==i.user,d=a((function(){s(!0)}),[s]);return u?r.createElement(n,{fallback:r.createElement("div",null)},r.createElement(o,e({},i))," "):r.createElement(l,e({},i,{handleSetEnabled:d}))};export{i as Paragraph};
//# sourceMappingURL=Paragraph.js.map
