Skip to content

Commit

Permalink
Fix Readme format issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jpgarcia committed Dec 9, 2016
1 parent 9f2a2ab commit 8fec6c8
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ react-native link react-native-facebook-keyframes
You must install `Facebook Keyframes` dependency using CocoaPods:

1. Install `cocoapods` in case you don't have already installed:

```bash
sudo gem install cocoapods
```
Expand All @@ -33,6 +34,7 @@ You must install `Facebook Keyframes` dependency using CocoaPods:
end
```
3. Instal cocoapods dependencies and return to the project folder:
```bash
pod install
cd ../
Expand All @@ -41,12 +43,14 @@ You must install `Facebook Keyframes` dependency using CocoaPods:
## Usage
1. Create a new keyframes json file (you can find a sample [here](https://github.com/underscopeio/react-native-facebook-keyframes/blob/master/demo/KeyframesDemo/src/keyframes-logo.json))
2. Include the library in your js file
2. Include the library in your js file:
```JSX
import KeyframesView from 'react-native-facebook-keyframes'
```
3. Use the component:
```JSX
<KeyframesView
style={{ width: 100, height: 100 }} // View styles
Expand All @@ -58,16 +62,20 @@ You must install `Facebook Keyframes` dependency using CocoaPods:
## Running the demo project included in this project
1. Go to the `demo/KeyframesDemo` folder
2. Install pod dependencies if running for iOS
2. Install pod dependencies if running for iOS:
```bash
cd ios
pod install
cd ../
```
3. Run the project:
```bash
npm install
react-native run-ios
```
---
**MIT Licensed**

0 comments on commit 8fec6c8

Please sign in to comment.