import {defaultIconSize} from "./SvgIcon"; import {type BasicButtonProps, basicButtonStyle, ButtonType} from "./BasicButtonDefinitions"; import clsx from "clsx"; import React from "react"; type ButtonProps = React.HTMLAttributes & BasicButtonProps & { onClick: () => void; disabled?: boolean; }; /** * Button component. Styles are defined in BasicButtonDefinitions.ts */ export default function Button({ onClick, icon: Icon, text, buttonType = ButtonType.DefaultButton, className = "", disabled = false, ...props }: ButtonProps) { return ( ); }