diff --git a/lib/component/button/Button.tsx b/lib/component/button/Button.tsx index 3db8919..5b95a4c 100644 --- a/lib/component/button/Button.tsx +++ b/lib/component/button/Button.tsx @@ -19,7 +19,6 @@ const Button = forwardRef(({ data-testid="mattrixwv-button" ref={ref} type={type} - {...buttonProps} disabled={disabled} className={clsx( className, @@ -57,6 +56,7 @@ const Button = forwardRef(({ "cursor-not-allowed opacity-75": disabled } )} + {...buttonProps} /> ); }); diff --git a/lib/component/button/DangerButton.tsx b/lib/component/button/DangerButton.tsx index e20f9f4..39d13ea 100644 --- a/lib/component/button/DangerButton.tsx +++ b/lib/component/button/DangerButton.tsx @@ -14,7 +14,6 @@ const DangerButton = forwardRef(({ return (