From 468c210f0897cdd6067a21bbabbb0cfc5216be7f Mon Sep 17 00:00:00 2001 From: Mike Perrotti Date: Wed, 18 May 2022 18:58:26 -0400 Subject: [PATCH 1/2] updates Link href paths that link to React components --- docs/content/ActionMenu.mdx | 4 ++-- docs/content/AnchoredOverlay.mdx | 6 +++--- docs/content/Autocomplete.mdx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/content/ActionMenu.mdx b/docs/content/ActionMenu.mdx index c98db183210..d057b2b9ef4 100644 --- a/docs/content/ActionMenu.mdx +++ b/docs/content/ActionMenu.mdx @@ -329,7 +329,7 @@ render( Button docs} + passthroughPropsLink={Button docs} /> @@ -346,7 +346,7 @@ render( Overlay docs} + passthroughPropsLink={Overlay docs} /> diff --git a/docs/content/AnchoredOverlay.mdx b/docs/content/AnchoredOverlay.mdx index 6ccd4cd7b27..d6e890619ed 100644 --- a/docs/content/AnchoredOverlay.mdx +++ b/docs/content/AnchoredOverlay.mdx @@ -108,7 +108,7 @@ See also [Overlay positioning](/Overlay#positioning). name="overlayProps" type={ <> - Partial<OverlayProps> + Partial<OverlayProps> } description={ @@ -121,7 +121,7 @@ See also [Overlay positioning](/Overlay#positioning). name="focusTrapSettings" type={ <> - Partial<FocusTrapHookSettings> + Partial<FocusTrapHookSettings> } description={ @@ -134,7 +134,7 @@ See also [Overlay positioning](/Overlay#positioning). name="focusZoneSettings" type={ <> - Partial<FocusZoneHookSettings> + Partial<FocusZoneHookSettings> } description={ diff --git a/docs/content/Autocomplete.mdx b/docs/content/Autocomplete.mdx index 79837015178..db51f35e0ca 100644 --- a/docs/content/Autocomplete.mdx +++ b/docs/content/Autocomplete.mdx @@ -590,7 +590,7 @@ render() isPolymorphic passthroughPropsLink={ <> - the TextInput docs + the TextInput docs } /> From 4369807cc1d38d4612d8b0202bc1d4f73d27e677 Mon Sep 17 00:00:00 2001 From: Mike Perrotti Date: Thu, 19 May 2022 11:14:47 -0400 Subject: [PATCH 2/2] adds changeset --- .changeset/empty-geese-return.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/empty-geese-return.md diff --git a/.changeset/empty-geese-return.md b/.changeset/empty-geese-return.md new file mode 100644 index 00000000000..f4a32b060d1 --- /dev/null +++ b/.changeset/empty-geese-return.md @@ -0,0 +1,5 @@ +--- +'@primer/react': patch +--- + +Fixes broken links in the documentation