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 (