JSPM

  • Created
  • Published
  • Downloads 221
  • Score
    100M100P100Q70555F
  • 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. Check the roadmap here

Content

Installation

  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.

Questions?

Feel free to contact me in twitter or create an issue