import React from 'react';
import classnames from 'classnames';
import Chip from '@mui/material/Chip';
import { getOperationLabel } from '../helpers/common';
import styles from './OperationChip.module.css';
export var OperationChip = function (_a) {
    var operation = _a.operation, className = _a.className, _b = _a.size, size = _b === void 0 ? 'small' : _b, _c = _a.variant, variant = _c === void 0 ? 'outlined' : _c;
    return (React.createElement(Chip, { variant: variant, label: getOperationLabel(operation), size: size, className: classnames(styles.chip, styles[operation], className), classes: { label: styles.label } }));
};
