From f40845723de02060cd5e85abef9767daf9a2c402 Mon Sep 17 00:00:00 2001 From: Matthew Ellison Date: Thu, 12 Feb 2026 21:30:04 -0500 Subject: [PATCH] Update prop expansion on components --- lib/component/button/Button.tsx | 2 +- lib/component/button/DangerButton.tsx | 2 +- lib/component/button/DarkButton.tsx | 2 +- lib/component/button/InfoButton.tsx | 2 +- lib/component/button/LightButton.tsx | 2 +- lib/component/button/MoltenButton.tsx | 2 +- lib/component/button/PrimaryButton.tsx | 2 +- lib/component/button/SecondaryButton.tsx | 2 +- lib/component/button/SuccessButton.tsx | 2 +- lib/component/button/TertiaryButton.tsx | 2 +- lib/component/button/WarningButton.tsx | 2 +- lib/component/input/checkbox/DangerCheckbox.tsx | 2 +- lib/component/input/checkbox/DarkCheckbox.tsx | 2 +- lib/component/input/checkbox/InfoCheckbox.tsx | 2 +- lib/component/input/checkbox/LightCheckbox.tsx | 2 +- lib/component/input/checkbox/MoltenCheckbox.tsx | 2 +- lib/component/input/checkbox/PrimaryCheckbox.tsx | 2 +- lib/component/input/checkbox/SecondaryCheckbox.tsx | 2 +- lib/component/input/checkbox/SuccessCheckbox.tsx | 2 +- lib/component/input/checkbox/TertiaryCheckbox.tsx | 2 +- lib/component/input/checkbox/WarningCheckbox.tsx | 2 +- lib/component/input/radio/DarkRadioButton.tsx | 2 +- lib/component/input/switch/DangerSwitch.tsx | 2 +- lib/component/input/switch/DarkSwitch.tsx | 2 +- lib/component/input/switch/InfoSwitch.tsx | 2 +- lib/component/input/switch/LightSwitch.tsx | 2 +- lib/component/input/switch/MoltenSwitch.tsx | 2 +- lib/component/input/switch/PrimarySwitch.tsx | 2 +- lib/component/input/switch/SecondarySwitch.tsx | 2 +- lib/component/input/switch/SuccessDangerSwitch.tsx | 2 +- lib/component/input/switch/SuccessSwitch.tsx | 2 +- lib/component/input/switch/TertiarySwitch.tsx | 2 +- lib/component/input/switch/WarningSwitch.tsx | 2 +- lib/component/message/TertiaryMessageBlock.tsx | 2 +- 34 files changed, 34 insertions(+), 34 deletions(-) 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 (