synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
23 lines (22 loc) • 603 B
JavaScript
import { jsx as c } from "react/jsx-runtime";
import { getUiOptions as d, getTemplate as m } from "@rjsf/utils";
function g(o) {
const { idSchema: s, description: n, registry: e, schema: r, uiSchema: i } = o, t = d(i, e.globalUiOptions), { label: l } = t;
if (l === !1)
return null;
const p = m("DescriptionFieldTemplate", e, t), a = `${s.$id}__description`;
return /* @__PURE__ */ c(
p,
{
id: a,
description: n ?? "",
schema: r,
uiSchema: i,
registry: e
}
);
}
export {
g as default
};
//# sourceMappingURL=ArrayFieldDescriptionTemplate.js.map