react-bootstrap
Version:
Bootstrap 3 components build with React
24 lines (18 loc) • 471 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = createSelectedEvent;
function createSelectedEvent(eventKey) {
var selectionPrevented = false;
return {
eventKey: eventKey,
preventSelection: function preventSelection() {
selectionPrevented = true;
},
isSelectionPrevented: function isSelectionPrevented() {
return selectionPrevented;
}
};
}
module.exports = exports["default"];