UNPKG

react-highlight-selector

Version:

Text highlighter with customizable palette and text copier

4 lines (3 loc) 123 B
export function generateId() { return "".concat(Date.now(), "-").concat(Math.random().toString(36).substring(2, 9)); }