import React from 'react';
import classNames from 'classnames';
import { jsx as _jsx } from "react/jsx-runtime";
const SortableTableThButton = ({
  children,
  onClick,
  testId,
  isDisabled = false,
  isActive = false,
  className = ''
}) => {
  return /*#__PURE__*/_jsx("button", {
    className: classNames(`button sortable-table-th-button ${className}`, {
      active: !isDisabled && isActive,
      disabled: isDisabled
    }),
    onClick: onClick,
    disabled: isDisabled,
    "test-id": testId,
    children: children
  });
};
export default SortableTableThButton;