UNPKG

react-toast-notifications

Version:

A configurable, composable, toast notification system for react.

14 lines (13 loc) 400 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.generateUEID = generateUEID; var NOOP = exports.NOOP = function NOOP() {}; function generateUEID() { var first = Math.random() * 46656 | 0; var second = Math.random() * 46656 | 0; first = ('000' + first.toString(36)).slice(-3); second = ('000' + second.toString(36)).slice(-3); return first + second; }