Function
EmptyHeader
({ className, ...props }: React.ComponentProps<"div">)
Source from the content-addressed store, hash-verified
| 16 | } |
| 17 | |
| 18 | function EmptyHeader({ className, ...props }: React.ComponentProps<"div">) { |
| 19 | return ( |
| 20 | <div |
| 21 | data-slot="empty-header" |
| 22 | className={cn( |
| 23 | "flex max-w-sm flex-col items-center gap-2 text-center", |
| 24 | className |
| 25 | )} |
| 26 | {...props} |
| 27 | /> |
| 28 | ) |
| 29 | } |
| 30 | |
| 31 | const emptyMediaVariants = cva( |
| 32 | "flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0", |
Callers
nothing calls this directly
Tested by
no test coverage detected