import { jsx as _jsx } from "react/jsx-runtime";
import { cn } from "#scalars";
import { TableCellBasic } from "./basic-cell.js";
const DefaultTableCell = ({ children, className, isSelected, isEditable, ...props }) => {
    return (_jsx(TableCellBasic, { tabIndex: 0, ...props, className: cn(className, "py-0 focus:outline-none"), children: _jsx("div", { className: cn("flex h-full items-center border border-transparent py-2", isSelected && (isEditable ? "border-blue-900" : "border-gray-400")), children: _jsx("div", { className: "w-full px-[12px] py-2", children: children }) }) }));
};
export { DefaultTableCell };
//# sourceMappingURL=default-cell.js.map