Skip to content

Commit 8b864fb

Browse files
committed
Fix documentation
1 parent 0ba8613 commit 8b864fb

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

website/docs/js/guides/setting-up.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,13 @@ Finally, we change scripts in the `package.json` to run the project with a `yarn
7676

7777
## Loading icons
7878

79-
`CameraView` component is using `react-native-paper` icons.
80-
In order to load and bundle these assets, we need to use the proper hook in the root component (`<App />`).
79+
`CameraView` component is using `react-native-paper` icons. First, get icons from registry.
80+
81+
``` yarn
82+
yarn add react-native-vector-icons
83+
```
84+
85+
Then, use the `useIcons` hook in the root component (`<App />`).
8186

8287
``` javascript
8388
/* App.jsx */

0 commit comments

Comments
 (0)