UNPKG

react-unique-id-generator

Version:

A lightweight, zero-dependency library for generating unique, sequential IDs in React — with hooks, custom prefix/suffix, SSR support, and stable CSS selector generation

3 lines 187 B
export declare function useUniqueId(localPrefix?: string): string; export declare function useUniqueIds(count: number, localPrefix?: string): string[]; //# sourceMappingURL=hooks.d.ts.map