JSPM

  • Created
  • Published
  • Downloads 209
  • Score
    100M100P100Q70171F
  • License MIT

React Native Blur component

Package Exports

  • react-native-blur

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-blur) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React Native Blur

Component implementation for UIVisualEffectView's blur effect.

Install

  1. npm install react-native-blur
  2. In the XCode's "Project navigator", right click on project's name ➜ Add Files to <...>
  3. Go to node_modulesreact-native-blur and add RNBlur folder
  4. Compile and have fun!

Usage example

var Menu = React.createClass({
  render: function() {
    return (
      <Image source={{uri}} style={styles.menu}>
        <BlurView style={styles.blur}>
          <Text>
            Hi, I am a tiny menu item
          </Text>
        </BlurView>
      </Image>
    );
  }
});

All parent components to blur view would be blurred. Everything inside wouldn't.