From 5cba2f7256326c18b8b0b7dc1e71f334dcb12324 Mon Sep 17 00:00:00 2001 From: nickfiacco-bolt Date: Fri, 4 Dec 2020 16:43:50 -0800 Subject: [PATCH] Also pass the href property --- components/ui/Button/Button.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/ui/Button/Button.tsx b/components/ui/Button/Button.tsx index 684888efb..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, @@ -53,6 +54,7 @@ const Button: React.FC = forwardRef((props, buttonRef) => { ref={mergeRefs([ref, buttonRef])} className={rootClassName} onClick={onClick} + href={href} disabled={disabled} style={{ width,