"use client";
import { jsx } from "react/jsx-runtime";
import "./button.css";
import joinClasses from "../utils/joinClasses.js";
function Button({ 'data-test-id': dataTestId, children, className, onClick, disabled, small, title }) {
    return /*#__PURE__*/ jsx("button", {
        type: "button",
        disabled: disabled,
        className: joinClasses('Button__root', null != disabled && 'Button__disabled', null != small && 'Button__small', className),
        onClick: onClick,
        title: title,
        "aria-label": title,
        ...null != dataTestId && {
            'data-test-id': dataTestId
        },
        children: children
    });
}
export { Button };
