feat(v3): table designs (#21147)
This commit is contained in:
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}
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user