Skip to content

Commit b840f00

Browse files
authored
docs: update README.md (#203)
* Update README.md * Update action.yml
1 parent 60bf6f7 commit b840f00

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/actions/setup/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ runs:
2323
${{ runner.os }}-yarn-
2424
2525
- name: Install dependencies
26-
if: steps.yarn-cache.outputs.cache-hit != 'true'
2726
run: |
2827
yarn install --cwd example --frozen-lockfile
2928
yarn install --frozen-lockfile

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Version >= 11 requires React Native 0.71 / Expo 48 or newer. Use version 10 if y
8989

9090
2. Wrap your root component in `HeaderButtonsProvider` and pass the `stackType` prop (`'native' | 'js'`), as seen in [example's App.tsx](https://github.com/vonovak/react-navigation-header-buttons/tree/master/example/App.tsx).
9191

92-
**IMPORTANT** `HeaderButtonsProvider` must be placed so that it is a child of `NavigationContainer`, otherwise this library may not receive the correct theme from React Navigation.
92+
**IMPORTANT** `HeaderButtonsProvider` must be placed as a descendant of `NavigationContainer`, otherwise this library will not receive the correct theme from React Navigation.
9393

9494
## Usage
9595

0 commit comments

Comments
 (0)