(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", "./styles"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var tslib_1 = require("tslib");
    var react_1 = (0, tslib_1.__importDefault)(require("react"));
    var styles_1 = require("./styles");
    var SelectControl = function (props) {
        var innerRef = props.innerRef, innerProps = props.innerProps, selectProps = props.selectProps;
        return (react_1.default.createElement(styles_1.ControlSelectStyle, (0, tslib_1.__assign)({ "data-element": "select-controlComponent", ref: innerRef, menuIsOpen: selectProps.menuIsOpen }, innerProps), props.children));
    };
    exports.default = SelectControl;
});
