'use client';
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
import React from 'react';
import { ChevronIcon } from '../../../icons/Chevron/index.js';
import './index.scss';
const baseClass = 'dropdown-indicator';
export const DropdownIndicator = (props)=>{
    const { innerProps: { ref, ...restInnerProps } } = props;
    return /*#__PURE__*/ _jsxDEV("button", {
        className: baseClass,
        ref: ref,
        ...restInnerProps,
        onKeyDown: (e)=>{
            if (e.key === 'Enter') {
                e.key = ' ';
            }
        },
        type: "button",
        children: /*#__PURE__*/ _jsxDEV(ChevronIcon, {
            className: `${baseClass}__icon`
        }, void 0, false, {
            fileName: "src/elements/ReactSelect/DropdownIndicator/index.tsx",
            lineNumber: 33,
            columnNumber: 7
        }, this)
    }, void 0, false, {
        fileName: "src/elements/ReactSelect/DropdownIndicator/index.tsx",
        lineNumber: 22,
        columnNumber: 5
    }, this);
};

//# sourceMappingURL=index.js.map