UNPKG

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

Version:

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

25 lines (22 loc) 454 B
import { jsx } from 'react/jsx-runtime'; import { Button } from '@mantine/core'; import { IconPlus } from '@tabler/icons-react'; function AddButton({ uiSchema, registry, color, ...props }) { return /* @__PURE__ */ jsx( Button, { title: "", color, variant: "light", ...props, leftIcon: /* @__PURE__ */ jsx(IconPlus, {}) } ); } export { AddButton as default }; //# sourceMappingURL=AddButton.mjs.map