import * as React from 'react';
import joinClasses from '../utils/joinClasses';
export default function Button({ children, className, 'data-test-id': dataTestId, disabled, onClick, small, title, }) {
    return (React.createElement("button", { "aria-label": title, className: joinClasses('Button__root', disabled && 'Button__disabled', small && 'Button__small', className), disabled: disabled, onClick: onClick, title: title, type: 'button', ...(dataTestId && { 'data-test-id': dataTestId }) }, children));
}
//# sourceMappingURL=Button.js.map