import { __assign } from "tslib";
import { components } from "react-select";
import { IconBrokenArrowDown2 } from "@greenatom/icons";
import React from "react";
import { SelectDropdownIndicatorStyled, SelectDrawerIcon } from "./styles";
var SelectDropdownIndicator = function (props) { return (React.createElement(components.DropdownIndicator, __assign({}, props), props.selectProps.isDrawer ? (React.createElement(SelectDrawerIcon, null)) : (React.createElement(SelectDropdownIndicatorStyled, { isDisabled: props.isDisabled, isFocused: props.isFocused && props.selectProps.menuIsOpen },
    React.createElement(IconBrokenArrowDown2, { className: "select-dropdown-icon", width: 12, height: 12 }))))); };
export default SelectDropdownIndicator;
