UNPKG

@payfit/unity-components

Version:

23 lines (22 loc) • 1.01 kB
import { TanstackFormFeedbackText as e } from "../form-field/parts/TanstackFormFeedbackText.js"; import { TanstackFormField as t } from "../form-field/TanstackFormField.js"; import { TanstackFormHelperText as n } from "../form-field/parts/TanstackFormHelperText.js"; import { TanstackFormLabel as r } from "../form-field/parts/TanstackFormLabel.js"; import { FileUploadDropzoneInput as i } from "./TanstackFileUploadDropzone.js"; import { jsx as a, jsxs as o } from "react/jsx-runtime"; //#region src/modules/tanstack-form/components/tanstack-file-upload-dropzone/TanstackFileUploadDropzoneField.tsx function s({ label: s, helperText: c, contextualLink: l, isRequired: u, requiredVariant: d, ...f }) { return /* @__PURE__ */ o(t, { children: [ /* @__PURE__ */ a(r, { isRequired: u, requiredVariant: d, children: s }), c && /* @__PURE__ */ a(n, { children: c }), /* @__PURE__ */ a(i, { ...f }), /* @__PURE__ */ a(e, {}), l ] }); } //#endregion export { s as FileUploadDropzoneField };