UNPKG
react-toastify-redux
Version:
latest (1.0.0-rc.2)
1.0.0-rc.2
1.0.0-rc.1
react-toastify with Redux
github.com/fayster/react-toastify-redux
fayster/react-toastify-redux
react-toastify-redux
/
lib
/
utils
/
uniqueId.js
11 lines
(9 loc)
•
197 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
var
idCounter =
0
;
exports
.
default
=
function
(
prefix
) {
var
id = ++idCounter;
return
""
+ prefix + id; };