diff --git a/packages/components/src/button/button.tsx b/packages/components/src/button/button.tsx index 457dfd6c..b6dc203b 100644 --- a/packages/components/src/button/button.tsx +++ b/packages/components/src/button/button.tsx @@ -45,7 +45,7 @@ const Button = (props: Props, ref: Ref) => { children, icon, iconAfter, - ...rest + ...buttonProps } = props // TODO: provider aria-label if button has only icon @@ -56,7 +56,7 @@ const Button = (props: Props, ref: Ref) => { return (