Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeylaptev committed Nov 8, 2015
1 parent 1a3cf11 commit af15d38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Really simple component that renders children elements when they enter the viewp
[![Dependency Status](https://david-dm.org/loktar00/react-lazy-load.svg?style=flat-square)](https://david-dm.org/loktar00/react-lazy-load)
[![NPM downloads](https://img.shields.io/npm/dm/react-lazy-load.svg?style=flat-square)](https://www.npmjs.com/package/react-lazy-load)

## Install
## Installation
React Lazy Load requires **React 0.14 or later.**

```
npm install --save react-lazy-load
Expand All @@ -15,10 +16,10 @@ npm install --save react-lazy-load
## Usage

```jsx
import React from 'react';
import React, { Component } from 'react';
import LazyLoad from 'react-lazy-load';

class MyComponent {
class MyComponent extends Component {
render() {
return (
<LazyLoad>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-lazy-load",
"version": "1.0.8",
"version": "2.0.0",
"description": "Simple lazy loading component built with react",
"main": "./lib/LazyLoad.js",
"files": [
Expand Down

0 comments on commit af15d38

Please sign in to comment.