@teknim/rjsf-mantine
Version:
Mantine theme, fields and widgets for react-jsonschema-form
9 lines • 397 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { helpId } from '@rjsf/utils';
import { Text } from '@mantine/core';
export default function FieldHelpTemplate(props) {
const { idSchema, help } = props;
const id = helpId(idSchema);
return !help ? null : (_jsx(Text, { id: id, size: 'sm', my: 'xs', c: 'dimmed', children: help }));
}
//# sourceMappingURL=FieldHelpTemplate.js.map