import { jsx as _jsx } from "react/jsx-runtime";
import { forwardRef } from "react";
import { TextInput } from "../text-input/text-input.js";
import { withFieldValidation } from "../with-field-validation/with-field-validation.js";
export const TextField = forwardRef(function TextField(props, ref) {
    const Component = withFieldValidation(TextInput);
    return _jsx(Component, { ...props, ref: ref });
});
TextField.displayName = "TextField";
//# sourceMappingURL=text-field.js.map