UNPKG

@gravity-ui/uikit

Version:

Gravity UI base styling and components

11 lines (10 loc) 329 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getElementId = getElementId; function getElementId(id, activeItem) { if (typeof id !== 'string' || typeof activeItem !== 'number') { return undefined; } return `${id}-item-${activeItem}`; } //# sourceMappingURL=utils.js.map