(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", "../../../CheckBox"], 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 CheckBox_1 = (0, tslib_1.__importDefault)(require("../../../CheckBox"));
    var SelectOption = function (props) {
        var innerProps = props.innerProps;
        return (react_1.default.createElement(CheckBox_1.default, { label: props.children, onClick: function (event) {
                var _a;
                event.preventDefault();
                (_a = innerProps.onClick) === null || _a === void 0 ? void 0 : _a.call(innerProps, event);
            }, isChecked: props.isSelected, isDisabled: props.isDisabled }));
    };
    exports.default = SelectOption;
});
