import { jsx } from "react/jsx-runtime";
import { cn } from "@open-mercato/shared/lib/utils";
function Table({ className, ...props }) {
  return /* @__PURE__ */ jsx("table", { className: cn("w-full text-sm", className), ...props });
}
function TableHeader({ className, ...props }) {
  return /* @__PURE__ */ jsx("thead", { className: cn(className), ...props });
}
function TableBody(props) {
  return /* @__PURE__ */ jsx("tbody", { ...props });
}
function TableRow({ className, ...props }) {
  return /* @__PURE__ */ jsx("tr", { className: cn("border-b last:border-b-0", className), ...props });
}
function TableHead({ className, ref, ...props }) {
  return /* @__PURE__ */ jsx("th", { ref, className: cn("text-left font-medium px-4 py-2 whitespace-nowrap text-muted-foreground", className), ...props });
}
function TableCell({ className, ...props }) {
  return /* @__PURE__ */ jsx("td", { className: cn("px-4 py-2", className), ...props });
}
export {
  Table,
  TableBody,
  TableCell,
  TableHead,
  TableHeader,
  TableRow
};
//# sourceMappingURL=table.js.map
