Add html button props to button

This commit is contained in:
araemer 2025-10-25 19:49:13 +02:00
parent 9f550bbce1
commit b70554db10

View file

@ -1,8 +1,9 @@
import {defaultIconSize} from "./SvgIcon";
import {type BasicButtonProps, basicButtonStyle, ButtonType} from "./BasicButtonDefinitions";
import clsx from "clsx";
import React from "react";
type ButtonProps = BasicButtonProps & {
type ButtonProps = React.HTMLAttributes<HTMLButtonElement> & BasicButtonProps & {
onClick: () => void;
disabled?: boolean;
};