"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const SelectInput = (props) => {
    const { onChange, label, disabled, value, fullWidth, options, optionValueKey, optionLabelKey } = props;
    return (react_1.default.createElement("label", null,
        label,
        react_1.default.createElement("select", { value: value, onChange: onChange, disabled: disabled },
            react_1.default.createElement("option", { value: "" }, "Choose..."), options === null || options === void 0 ? void 0 :
            options.map((option, index) => (react_1.default.createElement("option", { key: index, value: option[optionValueKey] }, option[optionLabelKey]))))));
};
exports.default = SelectInput;
//# sourceMappingURL=SelectInput.js.map