"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getAccessModeLabelText=exports.RenderHook=void 0;const jsx_runtime_1=require("react/jsx-runtime");function RenderHook(e){if(!e.Hook)return null;const t=e.Hook(e.props),o=t&&t.html;return o?(0,jsx_runtime_1.jsx)("span",{dangerouslySetInnerHTML:{__html:o}}):t}function getAccessModeLabelText(e){return(e.readOnly?"read-only":e.writeOnly&&"write-only")||null}exports.RenderHook=RenderHook,exports.getAccessModeLabelText=getAccessModeLabelText;
//# sourceMappingURL=RenderHook.js.map