UNPKG

@mantine/hooks

Version:

A collection of 50+ hooks for state and UI management

9 lines (8 loc) 260 B
"use client"; //#region packages/@mantine/hooks/src/utils/random-id/random-id.ts function randomId(prefix = "mantine-") { return `${prefix}${Math.random().toString(36).slice(2, 11)}`; } //#endregion export { randomId }; //# sourceMappingURL=random-id.mjs.map