'use client';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormBuilder = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const FormBuilderBody_1 = require("./components/FormBuilderBody/FormBuilderBody.js");
const FormContext_1 = require("./hooks/FormContext.js");
const FormBuilder = ({ formFields, className, onChange }) => {
    return ((0, jsx_runtime_1.jsx)(FormContext_1.FormProvider, { formFields: formFields, onChange: onChange, children: (0, jsx_runtime_1.jsx)(FormBuilderBody_1.FormBuilderBody, { className: className }) }));
};
exports.FormBuilder = FormBuilder;
//# sourceMappingURL=FormBuilder.js.map
