define(["require", "exports", "react", "../../Utilities", "../../Check", "./DetailsRow.scss"], function (require, exports, React, Utilities_1, Check_1, DetailsRow_scss_1) {
    "use strict";
    exports.DetailsRowCheck = function (props) {
        var selected = props.isSelected || props.selected;
        return (React.createElement("button", { type: 'button', className: Utilities_1.css('ms-DetailsRow-check', DetailsRow_scss_1.default.check), role: 'button', "aria-pressed": selected, "data-selection-toggle": true, "data-automationid": 'DetailsRowCheck', "aria-label": props.ariaLabel }, props.canSelect ?
            React.createElement(Check_1.Check, { checked: selected }) :
            React.createElement("div", { className: Utilities_1.css('ms-DetailsRow-checkSpacer', DetailsRow_scss_1.default.checkSpacer) })));
    };
});

//# sourceMappingURL=DetailsRowCheck.js.map
