function _define_property(obj, key, value) {
    if (key in obj) {
        Object.defineProperty(obj, key, {
            value: value,
            enumerable: true,
            configurable: true,
            writable: true
        });
    } else {
        obj[key] = value;
    }
    return obj;
}
function _object_spread(target) {
    for(var i = 1; i < arguments.length; i++){
        var source = arguments[i] != null ? arguments[i] : {};
        var ownKeys = Object.keys(source);
        if (typeof Object.getOwnPropertySymbols === "function") {
            ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
                return Object.getOwnPropertyDescriptor(source, sym).enumerable;
            }));
        }
        ownKeys.forEach(function(key) {
            _define_property(target, key, source[key]);
        });
    }
    return target;
}
import { dropdownConfig, component, mergeConfig, fixedForwardRef } from '@salutejs/plasma-new-hope/styled-components';
import React from 'react';
import { config } from './Dropdown.config';
var mergedConfig = mergeConfig(dropdownConfig, config);
var DropdownNewHope = component(mergedConfig);
var DropdownComponent = function(props, ref) {
    return /*#__PURE__*/ React.createElement(DropdownNewHope, _object_spread({
        ref: ref
    }, props));
};
var Dropdown = fixedForwardRef(DropdownComponent);
export { Dropdown };
