feat: add My Uploads listing with card and table views

This commit is contained in:
2026-06-18 21:22:44 +05:30
parent dff9e2222f
commit a18fff4d6f
28 changed files with 1060 additions and 127 deletions

View File

@@ -21,10 +21,18 @@ function PopoverContent({
className,
align = 'center',
sideOffset = 4,
container,
...props
}: React.ComponentProps<typeof PopoverPrimitive.Content>) {
}: React.ComponentProps<typeof PopoverPrimitive.Content> & {
container?:
| React.ComponentProps<typeof PopoverPrimitive.Portal>['container']
| React.RefObject<HTMLElement | null>;
}) {
const portalContainer =
container && 'current' in container ? container.current : container;
return (
<PopoverPrimitive.Portal>
<PopoverPrimitive.Portal container={portalContainer}>
<PopoverPrimitive.Content
data-slot="popover-content"
align={align}