add fumadocs

This commit is contained in:
2025-04-06 15:29:26 +02:00
parent d1974db5ed
commit d6c1a29771
27 changed files with 1176 additions and 157 deletions

View File

@@ -42,10 +42,7 @@ function Button({
size,
asChild = false,
...props
}: React.ComponentProps<'button'> &
VariantProps<typeof buttonVariants> & {
asChild?: boolean
}) {
}: ButtonProps) {
const Comp = asChild ? Slot : 'button'
return (
@@ -56,5 +53,8 @@ function Button({
/>
)
}
export type ButtonProps = React.ComponentProps<'button'> &
VariantProps<typeof buttonVariants> & {
asChild?: boolean
}
export { Button, buttonVariants }