react-obsidian
Version:
Dependency injection framework for React and React Native applications
10 lines • 319 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.uniqueId = void 0;
let idCounter = 0;
function uniqueId(prefix) {
const id = ++idCounter;
return `${prefix !== null && prefix !== void 0 ? prefix : ''}${id}`;
}
exports.uniqueId = uniqueId;
//# sourceMappingURL=uniqueId.js.map
;