import { Fragment, jsx, jsxs } from "react/jsx-runtime";
import { forwardRef } from "react";
import Label from "../Label";
import Input from "../Input";
var SingleLineTextTableField_default = forwardRef(function SingleLineTextTableField({ id, label = "", name, error, hideLabel = false, tableColumn, ...restOfProps }, ref) {
  return /* @__PURE__ */ jsxs(Fragment, { children: [
    !hideLabel && /* @__PURE__ */ jsx(Label, { htmlFor: id, children: label }),
    /* @__PURE__ */ jsx(
      Input,
      {
        ...restOfProps,
        "aria-label": label,
        ref,
        id,
        name,
        type: "text",
        error: error != null
      }
    )
  ] });
});
export {
  SingleLineTextTableField_default as default
};
//# sourceMappingURL=index.js.map