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
@@ -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