From 44de4695e71196f88ad47f08e44934d3c0b3a2f7 Mon Sep 17 00:00:00 2001 From: Faisal Kurdi <1266925+fkurdi@users.noreply.github.com> Date: Tue, 1 Dec 2020 17:05:37 -0800 Subject: [PATCH] Add href usage prop to Button add href prop to Button component --- 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 15e14236f..c708d3e48 100644 --- a/components/ui/Button/Button.tsx +++ b/components/ui/Button/Button.tsx @@ -33,6 +33,7 @@ const Button: React.FC = forwardRef((props, buttonRef) => { loading = false, disabled = false, style = {}, + href, } = props const ref = useRef(null) @@ -48,6 +49,7 @@ const Button: React.FC = forwardRef((props, buttonRef) => { return (