@livetiles/reach-components-react 0.4.161 → 0.4.162
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DetailTargetLinkFallback.d.ts +9 -0
- package/index.esm2.js +3 -3
- package/index.umd.js +4 -4
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Outside of the Reach app the components run inside a MemoryRouter, so links to other
|
|
4
|
+
* items rendered in a detail view (subpages, page lists and embedded items in the body,
|
|
5
|
+
* ToC, previous/next, breadcrumb) would otherwise end up as relative urls on the host
|
|
6
|
+
* (e.g. SharePoint) and lead to a 404. If the host did not provide its own target urls,
|
|
7
|
+
* link to the item in the Reach web app in a new window instead.
|
|
8
|
+
*/
|
|
9
|
+
export declare const DetailTargetLinkFallback: FC;
|