Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent 23f1477 commit d0a25bf8ec4334c3c548db384a62404f4dd86dca @javierbyte committed Sep 1, 2015
Showing with 6 additions and 6 deletions.
  1. +6 −6 README.md
View
@@ -9,27 +9,27 @@ React component for creating blurred backgrounds using canvas.
## Installation
```js
- npm install react-blur --save
+npm install react-blur --save
```
## Usage
```js
- var Blur = require('react-blur');
+var Blur = require('react-blur');
```
### Add styles
```js
- @import url(node_modules/react-blur/dist.css);
+@import url(node_modules/react-blur/dist.css);
```
### Example
```jsx
- <Blur img='/directory/img.jpg' blurRadius={5}>
- The content.
- </Blur>
+<Blur img='/directory/img.jpg' blurRadius={5}>
+ The content.
+</Blur>
```
For a complete example see the code in the [demo branch](https://github.com/javierbyte/react-blur/blob/gh-pages/src/js/app.jsx).

0 comments on commit d0a25bf

Please sign in to comment.