"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ClearIndicator = void 0;
var react_1 = __importDefault(require("react"));
var prop_types_1 = __importDefault(require("prop-types"));
var Clear_1 = __importDefault(require("@mui/icons-material/Clear"));
var IconButton_1 = __importDefault(require("@mui/material/IconButton"));
var styles_1 = require("./styles");
var ClearIndicator = function (props) {
    var onClear = props.selectProps.onClear;
    var styles = (0, styles_1.useStyles)();
    return (react_1.default.createElement(IconButton_1.default, { onClick: onClear, size: "large" },
        react_1.default.createElement(Clear_1.default, { className: styles.clearIcon })));
};
exports.ClearIndicator = ClearIndicator;
exports.ClearIndicator.propTypes = {
    selectProps: prop_types_1.default.object.isRequired
};
