mirror of
https://github.com/ershisan99/www.git
synced 2025-12-17 12:34:17 +00:00
add fumadocs
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user