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

+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";