You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2025. It is now read-only.
@@ -198,8 +210,14 @@ const HashChild = React.forwardRef((props, ref)) => ( // Must forward refs for c
198
210
199
211
### MultiHash
200
212
213
+
#### Summary
214
+
201
215
Component that pairs hashes with refs and scrolls to a corresponding ref when one of the hashes is present in the url
202
216
217
+
#### Demo
218
+
219
+
[](https://codesandbox.io/s/react-hash-scroll-demos-ge3b4?initialpath=multi-hash&module=/src/Demos/MultiHashDemo.tsx)
220
+
203
221
#### Props
204
222
205
223
`hashes`
@@ -261,8 +279,14 @@ const App = () => {
261
279
262
280
### ChildrenHash
263
281
282
+
#### Summary
283
+
264
284
Scrolls to corresponding child element when one of the hashes is present in the url
265
285
286
+
#### Demo
287
+
288
+
[](https://codesandbox.io/s/react-hash-scroll-demos-ge3b4?initialpath=children-hash&module=/src/Demos/ChildrenHashDemo.tsx)
0 commit comments