Export createExternalRouteRef and set id

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam<ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Johan Haals
2021-02-15 11:12:53 +01:00
parent ce69bee73a
commit 8b8e9d1e9a
6 changed files with 25 additions and 16 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ might be linking to, allowing the app to decide the final target. If the
declare an `ExternalRouteRef` similar to this:
```ts
const headerLinkRouteRef = createExternalRouteRef();
const headerLinkRouteRef = createExternalRouteRef({ id: 'header-link' });
```
### Binding External Routes in the App