Files
s3-drive-storage-manage/src/components/ui/button.tsx
T
2026-08-18 11:39:04 +07:00

21 lines
529 B
TypeScript

import * as React from "react"
import { cn } from "@/lib/utils"
import { buttonVariants, type ButtonProps } from "./button-variants"
const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
({ className, variant, size, ...props }, ref) => {
return (
<button
className={cn(buttonVariants({ variant, size, className }))}
ref={ref}
{...props}
/>
)
}
)
Button.displayName = "Button"
export { Button }
export type { ButtonProps } from "./button-variants"