Cleanup & start transition of moduleConfig

This commit is contained in:
Sacha Weatherstone
2023-01-29 19:03:43 +10:00
parent e36032045f
commit c184c5add6
28 changed files with 297 additions and 354 deletions
+1 -4
View File
@@ -1,13 +1,11 @@
import type { ButtonHTMLAttributes } from "react";
import type { ButtonHTMLAttributes, ComponentType, SVGProps } from "react";
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
size?: "sm" | "md" | "lg";
iconBefore?: JSX.Element;
}
export const Button = ({
size = "md",
iconBefore,
children,
disabled,
className,
@@ -30,7 +28,6 @@ export const Button = ({
{...rest}
>
<div className="m-auto flex shrink-0 items-center gap-2 font-medium">
{iconBefore}
{children}
</div>
</button>