feat(v3): table designs (#21147)

This commit is contained in:
sean-brydon authored and GitHub committed 2025-05-07 09:54:36 +00:00
1 parent 390ee79134
commit 2bce38fd2a
7 files changed
+45 -33

No files matched your search

@@ -68,7 +68,7 @@ export const Pagination = ({
const endItem = Math.min(currentPage * pageSize, totalItems);
return (
<div className="flex items-center justify-between space-x-2 py-4">
<div className="flex items-center justify-between space-x-2">
<div className="flex items-center space-x-2">
<Select
options={pageSizeSelectOptions}
+1 -5
View File
@@ -15,11 +15,7 @@ Table.displayName = "Table";
const TableHeader = React.forwardRef<HTMLTableSectionElement, React.HTMLAttributes<HTMLTableSectionElement>>(
({ className, ...props }, ref) => (
<thead
ref={ref}
className={classNames("[&_tr]:bg-subtle md:z-10 [&_tr]:border-b", className)}
{...props}
/>
<thead ref={ref} className={classNames("md:z-10", className)} {...props} />
)
);
TableHeader.displayName = "TableHeader";