feat: finish my pages overview page according to wireframe

This commit is contained in:
Simon Emanuelsson
2024-04-02 10:26:12 +02:00
parent d902a5a704
commit 8c8fa2d02c
48 changed files with 1161 additions and 91 deletions

View File

@@ -0,0 +1,17 @@
"use client"
import { Slot } from "@radix-ui/react-slot"
import { buttonVariants } from "./variants"
import type { ButtonProps } from "./button"
export default function Button({
asChild = false,
className,
variant,
...props
}: ButtonProps) {
const Comp = asChild ? Slot : "button"
return <Comp className={buttonVariants({ className, variant })} {...props} />
}