1 | # expo-blur
|
2 |
|
3 | A component that renders a native blur view on iOS and falls back to a semi-transparent view on Android. A common usage of this is for navigation bars, tab bars, and modals.
|
4 |
|
5 | # API documentation
|
6 |
|
7 | - [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/blur-view.md)
|
8 | - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/blur-view/)
|
9 |
|
10 | # Installation
|
11 |
|
12 | This package is pre-installed in [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects. You may skip the rest of the installation guide if this applies to you.
|
13 |
|
14 | For bare React Native projects, you must ensure that you have [installed and configured the `@unimodules/core` package](https://github.com/unimodules/core) before continuing.
|
15 |
|
16 | ### Add the package to your npm dependencies
|
17 |
|
18 | ```
|
19 | npm install expo-blur
|
20 | ```
|
21 |
|
22 | ### Configure for iOS
|
23 |
|
24 | Add the dependency to your `Podfile` and then run `pod install`.
|
25 |
|
26 | ```ruby
|
27 | pod 'EXBlur', path: '../node_modules/expo-blur/ios'
|
28 | ```
|
29 |
|
30 |
|
31 | # Contributing
|
32 |
|
33 | Contributions are very welcome! Please refer to guidelines described in the [contributing guide]( https://github.com/expo/expo#contributing).
|