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

6 lines 342 B
export declare function nextIdForScope(scope: string, prefix?: string): string; export declare function resetIdForScope(scope: string): void; export declare function resetAllScopes(): void; export declare function getScopeCounter(scope: string): number; export declare function getActiveScopes(): string[]; //# sourceMappingURL=scope.d.ts.map