UNPKG

@payfit/unity-components

Version:

24 lines (23 loc) 741 B
import { Text as e } from "../../text/Text.js"; import { useFieldA11yContext as t } from "../TanstackFormField.context.js"; import { forwardRef as n } from "react"; import { jsx as r } from "react/jsx-runtime"; //#region src/components/form-field/parts/TanstackFormHelperText.tsx var i = n(({ children: n, ...i }, a) => { let o = t(); return /* @__PURE__ */ r(e, { "data-dd-privacy": "allow", ...i, id: o.helperTextId || i.id, "data-unity-slot": "form-field-helper-text", variant: "bodySmall", asElement: "span", color: "content.neutral.low", className: "uy:[&>a]:text-content-neutral-enabled", ref: a, children: n }); }); i.displayName = "TanstackFormHelperText"; //#endregion export { i as TanstackFormHelperText };