@sagold/rje-mantine-widgets
v1.1.1
Published
<p align="center"> <img src="../../docs/images/mantine-widgets-logo.png" width="100%" alt="headless-json-editor"><br /> </p>
Readme
Simple and extensible React component capable of using JSON Schema to declaratively build and customize user forms using mantine component library.
install
npm install @sagold/rje-mantine-widgets
This library of components and widgets comes unstyled
import { JsonForm, widgets } from '@sagold/rje-mantine-widgets';
function MyForm({ schema, data }) {
return (
<JsonForm
widgets={widgets}
schema={schema}
data={data}
onChange={(data) => {
console.log('data', data);
}}
/>
);
}