UNPKG

@aokiapp/rjsf-mantine-theme

Version:

Mantine theme, fields and widgets for react-jsonschema-form

20 lines (15 loc) 531 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var jsxRuntime = require('react/jsx-runtime'); var utils = require('@rjsf/utils'); var core = require('@mantine/core'); function FieldHelpTemplate(props) { const { idSchema, help } = props; if (!help) { return null; } const id = utils.helpId(idSchema); return /* @__PURE__ */ jsxRuntime.jsx(core.Text, { size: "xs", id, c: "gray", children: help }); } exports.default = FieldHelpTemplate; //# sourceMappingURL=FieldHelpTemplate.cjs.map