From f224f3fa2c0bd918ed7de03f25553ebb4177cf6d Mon Sep 17 00:00:00 2001 From: Matthew Ellison Date: Sat, 14 Feb 2026 16:35:24 -0500 Subject: [PATCH] Update button components --- lib/component/button/Button.tsx | 12 +++--------- lib/component/button/DangerButton.tsx | 12 +++--------- lib/component/button/DarkButton.tsx | 12 +++--------- lib/component/button/InfoButton.tsx | 12 +++--------- lib/component/button/LightButton.tsx | 12 +++--------- lib/component/button/MoltenButton.tsx | 12 +++--------- lib/component/button/PrimaryButton.tsx | 12 +++--------- lib/component/button/SecondaryButton.tsx | 12 +++--------- lib/component/button/SuccessButton.tsx | 12 +++--------- lib/component/button/TertiaryButton.tsx | 12 +++--------- lib/component/button/WarningButton.tsx | 12 +++--------- 11 files changed, 33 insertions(+), 99 deletions(-) diff --git a/lib/component/button/Button.tsx b/lib/component/button/Button.tsx index 5b95a4c..4a273ba 100644 --- a/lib/component/button/Button.tsx +++ b/lib/component/button/Button.tsx @@ -1,10 +1,9 @@ import type { ButtonProps } from "$/types/ButtonTypes"; import clsx from "clsx"; -import { forwardRef } from "react"; -const Button = forwardRef(({ +export default function Button({ className, type="button", rounding = "lg", @@ -13,11 +12,10 @@ const Button = forwardRef(({ variant = "standard", disabled, ...buttonProps -}, ref ) => { +}: Readonly){ return (