Skip to content

Commit c230721

Browse files
committed
Tweak configuring links docs
1 parent d01603b commit c230721

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

versioned_docs/version-7.x/configuring-links.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,11 @@ const linking = {
102102
};
103103
```
104104

105-
Note that the `prefixes` option is not supported on Web. The host & domain names will be automatically determined from the Website URL in the browser. If your app runs only on Web, then you can omit this option from the config.
105+
:::note
106+
107+
The `prefixes` option has no effect on Web. The host & domain names will be automatically determined from the Website URL in the browser.
108+
109+
:::
106110

107111
### Multiple subdomains​
108112

versioned_docs/version-8.x/configuring-links.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,11 @@ const linking = {
119119
};
120120
```
121121

122-
If not specified, it defaults to `['*']`, which will match any host starting with `http`, `https`, and custom schemes such as `myapp://`. You only need to specify `prefixes` if you're using **Expo Go** or want to restrict the URLs your app handles.
122+
If not specified, it defaults to `['*']`, which will match any host starting with `http`, `https`, and custom schemes such as `myapp://`.
123123

124-
:::info
124+
You only need to specify `prefixes` if you're using **Expo Go** or want to restrict the URLs your app handles.
125+
126+
:::note
125127

126128
The `prefixes` option has no effect on Web. The host & domain names will be automatically determined from the Website URL in the browser.
127129

versioned_docs/version-8.x/themes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ export default function App() {
369369

370370
## Using the current theme in your own components
371371

372-
To gain access to the theme in any component that is rendered inside the navigation container:, you can use the `useTheme` hook. It returns the theme object:
372+
To gain access to the theme in any component that is rendered inside the navigation container, you can use the `useTheme` hook. It returns the theme object:
373373

374374
```js name="System themes" snack static2dynamic
375375
import * as React from 'react';

0 commit comments

Comments
 (0)