Add html button props to button
This commit is contained in:
parent
9f550bbce1
commit
b70554db10
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue