(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports", "tslib", "react-select", "@greenatom/icons", "react", "./styles"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var tslib_1 = require("tslib");
    var react_select_1 = require("react-select");
    var icons_1 = require("@greenatom/icons");
    var react_1 = (0, tslib_1.__importDefault)(require("react"));
    var styles_1 = require("./styles");
    var SelectDropdownIndicator = function (props) { return (react_1.default.createElement(react_select_1.components.DropdownIndicator, (0, tslib_1.__assign)({}, props), props.selectProps.isDrawer ? (react_1.default.createElement(styles_1.SelectDrawerIcon, null)) : (react_1.default.createElement(styles_1.SelectDropdownIndicatorStyled, { isDisabled: props.isDisabled, isFocused: props.isFocused && props.selectProps.menuIsOpen },
        react_1.default.createElement(icons_1.IconBrokenArrowDown2, { className: "select-dropdown-icon", width: 12, height: 12 }))))); };
    exports.default = SelectDropdownIndicator;
});
