import React from 'react';
import i18n from 'ui-i18n';
import { SmallIconButtonWithTooltip } from '../SmallIconButton';
import IgnoredIcon from '../icons/Ignored';
import IgnoredOutlinedIcon from '../icons/IgnoredOutlined';
export var IgnoreButton = function (_a) {
    var isIgnored = _a.isIgnored, onClick = _a.onClick, disabled = _a.disabled;
    return (React.createElement(SmallIconButtonWithTooltip, { disabled: disabled, showForDisabled: true, icon: isIgnored ? IgnoredIcon : IgnoredOutlinedIcon, tooltipTitle: disabled ? i18n.text("You don't have permissions to ignore") : i18n.text('Ignore'), onClick: onClick, size: "XS", disableRipple: true }));
};
