Skip to content

Commit 7c57402

Browse files
authored
Merge pull request #378 from TPXP/patch-1
Cleanup and update README.md
2 parents 10210c5 + 2bebdee commit 7c57402

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ or npm:
2828
npm install --save @react-native-community/blur
2929
```
3030

31-
2. Link your native dependencies:
31+
2. **React-Native 0.59 and below only**: Link your native dependencies:
3232

3333
```
3434
react-native link @react-native-community/blur
@@ -39,6 +39,10 @@ react-native link @react-native-community/blur
3939
```
4040
npx pod-install
4141
```
42+
Or, if you already have installed [Cocoapods](https://cocoapods.org/) on your system:
43+
```
44+
cd ios && pod install
45+
```
4246

4347
4. (Android only, optional)
4448
If you've defined _[project-wide properties](https://developer.android.com/studio/build/gradle-tips.html)_ (**recommended**) in your root `build.gradle`, this library will detect the presence of the following properties:
@@ -120,7 +124,6 @@ export default class Menu extends Component {
120124
{/* in terms of positioning and zIndex-ing everything before the BlurView will be blurred */}
121125
<BlurView
122126
style={styles.absolute}
123-
viewRef={this.state.viewRef}
124127
blurType="light"
125128
blurAmount={10}
126129
reducedTransparencyFallbackColor="white"

0 commit comments

Comments
 (0)