import React from "react"
import { Button } from "@/ui/components/Button"
interface CustomButtonRootProps extends React.ComponentProps<typeof Button> {
className?: string
}
export const CustomButton = React.forwardRef<HTMLButtonElement, CustomButtonRootProps>(function CustomButtonRoot(
{ className, ...otherProps }: CustomButtonRootProps,
ref,
) {
/**
* Add any hooks or custom logic here
*/
return (
<Button
className={className}
ref={ref}
onClick={() => {
// You can handle events here too
}}
{...otherProps}
/>
)
})