UNPKG

react-bootstrap-typeahead

Version:
11 lines (10 loc) 344 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = getMenuItemId; function getMenuItemId() { var id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; var position = arguments.length > 1 ? arguments[1] : undefined; return "".concat(id, "-item-").concat(position); }