From 863846ca90ce3eeb1ba672f97141497764e97ad0 Mon Sep 17 00:00:00 2001 From: Victor Bayas Date: Thu, 3 Oct 2024 10:46:06 -0500 Subject: [PATCH] Set default type of Button component to "button" (#1010) --- src/components/Button/Button.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/Button/Button.tsx b/src/components/Button/Button.tsx index 5ba1ebdd..f0c6d7ea 100644 --- a/src/components/Button/Button.tsx +++ b/src/components/Button/Button.tsx @@ -169,6 +169,7 @@ const CustomButton = styled.button< const Button: FC< ButtonProps & React.ButtonHTMLAttributes > = ({ + type = "button", label, variant = "secondary", icon, @@ -205,6 +206,7 @@ const Button: FC< return (