UNPKG

@sandlada/mdc

Version:

@sandlada/mdc is an open source component library that follows the Material Design 3 design specifications.

19 lines 566 B
/** * @license CC BY-SA 4.0 * @link https://stackoverflow.com/a/8809472/ * @author Briguy37 */ /** * @deprecated * Please use `self.crypto.randomUUID()` instead of `generateUUID()`. * * Generates a unique identifier. * * `self.crypto.randomUUID()` is well established and works across many devices and browser versions. * It’s been available across browsers since March 2022. * * @link * https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID */ export declare function generateUUID(): string; //# sourceMappingURL=generate-uuid.d.ts.map