Skip to content

Commit

Permalink
Merge pull request #5 from skv-headless/fix-readme-basic-usage
Browse files Browse the repository at this point in the history
improve basic usage example
  • Loading branch information
leecade committed May 1, 2015
2 parents 3ade1c5 + 6bf0a11 commit e7be14d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,16 @@ $ npm i react-native-swiper --save

```jsx
var Swiper = require('react-native-swiper')

// es6
// import Swiper from 'react-native-swiper'

var React = require('react-native');
var {
AppRegistry,
} = React
StyleSheet,
Text,
View,
} = React;

var styles = StyleSheet.create({
wrapper: {
Expand Down

0 comments on commit e7be14d

Please sign in to comment.