[feat] basic path selection + common dir notification

This commit is contained in:
Purp1e
2025-03-17 01:17:35 +08:00
parent ffe351d14f
commit 6803dffc21
10 changed files with 150 additions and 45 deletions

View File

@@ -8,11 +8,14 @@ interface CardProps {
onClick?: () => void
}
const Card = ({ children }: CardProps) => {
const Card = ({ children, className, ...props }: CardProps) => {
return (
<div
className="dark:bg-white/[3%] dark:border-white/[6%] px-3 py-3 flex flex-col gap-2.5 border w-full rounded-lg bg-white/40 border-black/[6%]"
className={cn(
"dark:bg-white/[3%] dark:border-white/[6%] px-3 py-3 flex flex-col gap-2.5 border w-full rounded-lg bg-white/40 border-black/[6%]"
, className)}
data-tauri-drag-region
{...props}
>
{children}
</div>