refactor: Extract Sidebar Link to component

This commit is contained in:
Arvid Norlin
2024-04-11 13:44:04 +02:00
parent 3d2fafff6d
commit c0b68f9e5b
7 changed files with 102 additions and 22 deletions

View File

@@ -0,0 +1,9 @@
import { linkVariants } from "./variants"
import type { VariantProps } from "class-variance-authority"
export interface LinkProps
extends React.AnchorHTMLAttributes<HTMLAnchorElement>,
VariantProps<typeof linkVariants> {
href: string
}