Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,22 @@ A physics library for React Native (in progress)

![](https://media.giphy.com/media/l3q2BzY2X9gmPPCta/giphy.gif)

[youtube video that shows all the examples](https://www.youtube.com/watch?v=i3Bjl5walow)
[A youtube video that shows all the examples](https://www.youtube.com/watch?v=i3Bjl5walow)
### Installation

`npm install --save react-native-physics`
```
npm install --save react-native-physics
```

### Importation
### Usage

`import { Container, Box } from 'react-native-physics';`
```
import { Container, Box } from 'react-native-physics';
```

### Usagation
`Container` lays out just like a `View`. `Container` holds the state of each box. Put `Box`es inside the `Container`.

### Examplelation
### Example
```javascript
render() {
return (
Expand All @@ -38,7 +41,7 @@ render() {
}
```

To run the example in this repository, git clone, npm install, and react-native run-ios (or run-android).
To run the example in this repository, `git clone`, `npm install`, and `react-native run-ios` (or ` react-native run-android`).

### Props
Container
Expand Down