All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.components.field.field-helper-text.cjs Maven / Gradle / Ivy

'use client';
'use strict';

Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

const jsxRuntime = require('react/jsx-runtime');
const react$1 = require('@zag-js/react');
const react = require('react');
const factory = require('../factory.cjs');
const useFieldContext = require('./use-field-context.cjs');

const FieldHelperText = react.forwardRef((props, ref) => {
  const field = useFieldContext.useFieldContext();
  const mergedProps = react$1.mergeProps(field?.getHelperTextProps(), props);
  return /* @__PURE__ */ jsxRuntime.jsx(factory.ark.span, { ...mergedProps, ref });
});
FieldHelperText.displayName = "FieldHelperText";

exports.FieldHelperText = FieldHelperText;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy