docs: clarify query string behavior (#8642)

This commit is contained in:
Mikey O'Toole 2023-02-16 15:07:15 +00:00 committed by GitHub
parent f40ac082ef
commit 5edd594613
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -321,7 +321,7 @@ li[role='tab'][data-value='apple'] {
## Query string {#query-string}
It is possible to persist the selected tab into the url search parameters. This enables deep linking: the ability to share or bookmark a link to a specific tab, that will be pre-selected when the page loads.
It is possible to persist the selected tab into the url search parameters. This enables you to share a link to a page which pre-selects the tab - linking from your Android app to documentation with the Android tabs pre-selected. This feature does not provide an anchor link - the browser will not scroll to the tab.
Use the `queryString` prop to enable this feature and define the search param name to use.