import React from 'react';
import classnames from 'classnames';
import i18n from 'ui-i18n';
import { getFilterOptionLabel } from '@reltio/mdm-sdk';
import { useStyles } from './styles';
export var ReadOnlyFilter = function (_a) {
    var className = _a.className, rowData = _a.rowData;
    var styles = useStyles();
    return (React.createElement("div", { className: classnames(styles.readOnlyFilter, className) }, rowData && rowData.filter ? getFilterOptionLabel(rowData.filter) : i18n.text('equals')));
};
