UNPKG

@chris-bellman/rjsf-mantine-5-theme

Version:

Mantine 5 theme, fields and widgets for react-jsonschema-form. Based on @aokiapp/rjsf-mantine-theme

29 lines (24 loc) 571 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var jsxRuntime = require('react/jsx-runtime'); var core = require('@mantine/core'); var iconsReact = require('@tabler/icons-react'); function AddButton({ uiSchema, registry, color, ...props }) { return /* @__PURE__ */ jsxRuntime.jsx( core.Button, { title: "", color, variant: "light", ...props, leftIcon: /* @__PURE__ */ jsxRuntime.jsx(iconsReact.IconPlus, {}) } ); } exports.default = AddButton; //# sourceMappingURL=AddButton.cjs.map