mirror of
https://github.com/status-im/react-native-blur.git
synced 2025-01-14 10:34:41 +00:00
Updated README with new instructions
This commit is contained in:
parent
fd1d7452fa
commit
6b3e1ae24b
@ -47,7 +47,7 @@ const Menu = React.createClass({
|
|||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<Image source={{uri}} style={styles.menu}>
|
<Image source={{uri}} style={styles.menu}>
|
||||||
<BlurView blurType="light" style={styles.blur}>
|
<BlurView blurType="light" blurAmount={10} style={styles.blur}>
|
||||||
<Text>Hi, I am a tiny menu item</Text>
|
<Text>Hi, I am a tiny menu item</Text>
|
||||||
</BlurView>
|
</BlurView>
|
||||||
</Image>
|
</Image>
|
||||||
@ -82,7 +82,10 @@ const Menu = React.createClass({
|
|||||||
- `xlight` - extra light blur type
|
- `xlight` - extra light blur type
|
||||||
- `light` - light blur type
|
- `light` - light blur type
|
||||||
- `dark` - dark blur type
|
- `dark` - dark blur type
|
||||||
|
- `blurAmount` (Number) - blur amount effect
|
||||||
|
- `0-100` - Adjusts blur intensity
|
||||||
|
|
||||||
|
*Note: `blurAmount` does not refresh with Hot Reloading. You must a refresh the app to view the results of the changes*
|
||||||
|
|
||||||
### Android
|
### Android
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user