@sagold/rje-widgets v0.33.8
Simple and extensible React component capable of using JSON Schema to declaratively build and customize user forms.
install
yarn add @sagold/rje-widgets
This library of components and widgets comes unstyled, but different css files can be combined to add basic styling or a full dark and light theme.
import { JsonForm, widgets } from '@sagold/rje-widgets';
import '@sagold/rje-widgets/dist/styles.css';
function MyForm({ schema, data }) {
return (
<JsonForm
widgets={widgets}
schema={schema}
data={data}
onChange={(data) => {
console.log('data', data);
}}
/>
);
}
25 days ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
7 months ago
8 months ago
9 months ago
10 months ago
10 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
9 months ago
10 months ago
9 months ago
10 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago