npm and composer

This commit is contained in:
Henry Whitaker
2020-12-13 15:59:35 +00:00
parent ec51c2def6
commit 54ce0ece35
1586 changed files with 83653 additions and 23821 deletions

View File

@@ -29,9 +29,10 @@ var DropdownItem = React.forwardRef(function (_ref, ref) {
var navContext = useContext(NavContext);
var _ref2 = navContext || {},
activeKey = _ref2.activeKey;
activeKey = _ref2.activeKey; // TODO: Restrict eventKey to string in v5?
var key = makeEventKey(eventKey || null, href);
var key = makeEventKey(eventKey, href);
var active = propActive == null && key != null ? makeEventKey(activeKey) === key : propActive;
var handleClick = useEventCallback(function (event) {
// SafeAnchor handles the disabled case, but we handle it here