@reach/auto-id
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -1,3 +0,10 @@ | ||
declare module "@reach/auto-id" { | ||
const useId: () => number; | ||
} | ||
/** | ||
* Autogenerate IDs to facilitate WAI-ARIA and server rendering. | ||
* | ||
* Note: The returned ID will initially be `null` and will update after a | ||
* component mounts. Users may need to supply their own ID if they need | ||
* consistent values for SSR. | ||
* | ||
* @see Docs https://reacttraining.com/reach-ui/auto-id | ||
*/ | ||
declare const useId: () => number; |
{ | ||
"name": "@reach/auto-id", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "Autogenerate IDs to facilitate WAI-ARIA and server rendering.", | ||
@@ -23,3 +23,3 @@ "main": "index.js", | ||
], | ||
"gitHead": "0f3d2c7e530cd80e1d1bd338182ac89a3ba23999" | ||
"gitHead": "7e33672d882cd6df77ac8cdb76b6b4a21dbf28c2" | ||
} |
3749
62