diff --git a/components/ui/Button/Button.tsx b/components/ui/Button/Button.tsx index e7f3d89c1..1286761ac 100644 --- a/components/ui/Button/Button.tsx +++ b/components/ui/Button/Button.tsx @@ -28,6 +28,7 @@ const Button: React.FC = forwardRef((props, buttonRef) => { children, active, onClick, + href, width, Component = 'button', loading = false, @@ -52,6 +53,8 @@ const Button: React.FC = forwardRef((props, buttonRef) => { data-variant={variant} ref={mergeRefs([ref, buttonRef])} className={rootClassName} + onClick={onClick} + href={href} disabled={disabled} style={{ width,