From e64785daf061250e203b3bc075d382c3af86b676 Mon Sep 17 00:00:00 2001 From: ali josheghani Date: Tue, 4 Jun 2024 00:35:52 +0330 Subject: [PATCH] feat : add type tp Button components --- src/components/button/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/button/index.tsx b/src/components/button/index.tsx index 16ba406..344230a 100644 --- a/src/components/button/index.tsx +++ b/src/components/button/index.tsx @@ -9,6 +9,7 @@ function Button({ children, onClick, extra, active }: ButtonProps) { : "" } ${extra}`} onClick={onClick} + type="button" > {children}