@bedrockstreaming/form-editor
TypeScript icon, indicating that this package has built-in type declarations

0.9.2 • Public • Published

✍️ form-editor

🚧 WIP 🚧

This utility package helps to create and edit your form-builder schemas.

🏗️ Install

npm install @bedrockstreaming/form-editor

🚀 Usage

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>
  );
};

Examples

For real-world usage, see the demo app.

Contributing

Running unit tests

Run nx test form-editor to execute the unit tests via Jest.

Dependencies (11)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @bedrockstreaming/form-editor

    Weekly Downloads

    132

    Version

    0.9.2

    License

    none

    Unpacked Size

    209 kB

    Total Files

    27

    Last publish

    Collaborators

    • tetsu9901
    • jsulpis
    • martinschneider01
    • jcoquet
    • fdubost
    • slashgear
    • hpierre74
    • nbazille