@open-formulieren/formio-builder
Version:
An opinionated Formio webform builder for Open Forms
39 lines (38 loc) • 1.14 kB
JavaScript
import { jsx as d } from "react/jsx-runtime";
import "../../components/formio/tabs.js";
import "clsx";
import "formik";
/* empty css */
import "@floating-ui/react";
import "react";
/* empty css */
import { TextFieldMultiple as s } from "../../components/formio/textfield.js";
import "../../components/formio/datefield.js";
import "../../components/formio/datetimefield.js";
import "../../components/formio/timefield.js";
import "react-intl";
/* empty css */
import "react-select";
import "dompurify";
import "../../components/formio/textarea.js";
import "../../components/formio/datagrid.js";
/* empty css */
const g = ({
component: t
}) => {
const {
key: i,
label: r,
description: o,
tooltip: p,
validate: m = {},
disabled: e = !1,
multiple: l
} = t, {
required: a = !1
} = m;
return /* @__PURE__ */ d(s, { name: i, multiple: !!l, label: r, description: o, tooltip: p, required: a, readOnly: e, placeholder: "XXXXXXXXX" });
};
export {
g as default
};