UNPKG

@payfit/unity-components

Version:

22 lines (21 loc) 975 B
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 { TanstackPhoneNumberInput as i } from "../phone-number/TanstackPhoneNumberInput.js"; import { forwardRef as a } from "react"; import { jsx as o, jsxs as s } from "react/jsx-runtime"; var c = a(({ label: a, isRequired: c, requiredVariant: l, helperText: u, contextualLink: d, ...f }) => /* @__PURE__ */ s(t, { children: [ /* @__PURE__ */ o(r, { requiredVariant: l, isRequired: c, children: a }), u && /* @__PURE__ */ o(n, { children: u }), /* @__PURE__ */ o(i, { ...f }), /* @__PURE__ */ o(e, {}), d ] })); c.displayName = "TanstackPhoneNumberField"; //#endregion export { c as TanstackPhoneNumberField };