UNPKG

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

Version:

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

9 lines 450 B
import { jsx as _jsx } from "react/jsx-runtime"; import { Button } from '@mantine/core'; import { IconPlus } from '@tabler/icons-react'; /** The `AddButton` renders a button that represent the `Add` action on a form */ export default function AddButton({ uiSchema, registry, color, ...props }) { return (_jsx(Button, { title: '', color: color, variant: 'light', ...props, leftIcon: _jsx(IconPlus, {}) })); } //# sourceMappingURL=AddButton.js.map