🚧 WIP 🚧
This utility package helps to create and edit your form-builder schemas.
npm install @bedrockstreaming/form-editor
import { FormEditor } from '@bedrockstreaming/form-editor';
// NOTE: Those are optionals
import { schema } from './path_to/schema';
import { dictionary } from './path_to/dictionary';
import { extraValidation } from './path_to/extraValidation';
const SomePage = () => {
return (
<div>
<FormEditor
schema={schema}
dictionary={dictionary}
extraValidation={extraValidation}
/>
</div>
);
};
For real-world usage, see the demo app.
Run nx test form-editor
to execute the unit tests via Jest.