import { jsx } from "react/jsx-runtime";
import { forwardRef } from "react";
import TableColumnRadioButtonGroup from "./components/TableColumnRadioButtonGroup";
import TableColumnSingleSelect from "./components/TableColumnSingleSelect";
var SingleSelectTableField_default = forwardRef(function SingleSelectTableField({ type, ...restOfProps }, ref) {
  return type === "select" ? (
    // @ts-expect-error: custom ref doesn't match select element
    /* @__PURE__ */ jsx(TableColumnSingleSelect, { ...restOfProps, ref })
  ) : /* @__PURE__ */ jsx(TableColumnRadioButtonGroup, { ...restOfProps, ref });
});
export {
  SingleSelectTableField_default as default
};
//# sourceMappingURL=index.js.map