From fb851882a1d4084996c3b861b940e689cacb62c1 Mon Sep 17 00:00:00 2001 From: PedroAugustoRamalhoDuarte Date: Tue, 4 Jun 2024 13:35:13 -0300 Subject: [PATCH] padding rest props to button component --- src/components/Button/index.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/Button/index.tsx b/src/components/Button/index.tsx index d2cf519..9ee40da 100644 --- a/src/components/Button/index.tsx +++ b/src/components/Button/index.tsx @@ -51,10 +51,16 @@ const Button = ({ spinnerColor = "border-r-coolGray-400", loading = false, onClick, + ...rest }: ButtonProps) => { const buttonClasses = twMerge(buttonVariants({ variant, size, disabled }), className); return ( -