From 673e9b0d8c568728a5c909960eb8ff8b5fbca800 Mon Sep 17 00:00:00 2001 From: Joel Arvidsson Date: Mon, 19 Oct 2015 08:44:33 -0400 Subject: [PATCH] Released 0.1.0. --- README.md | 9 ++++++--- package.json | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3b54731..8830208 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ # react-native-animatable Standard set of easy to use animations for React Native +## Installation + +`$ npm install react-native-animatable --save` + ## Usage To animate things you must use the `createAnimatableComponent` composer similar to the `Animated.createAnimatedComponent`. The common components `View`, `Text` and `Image` are precomposed and exposed under the `Animatable` namespace. If you have your own component that you wish to animate, simply wrap it with a `Animatable.View` or compose it with: @@ -12,9 +16,8 @@ MyCustomComponent = Animatable.createAnimatableComponent(MyCustomComponent); ### Declarative Usage -```js -var Animatable = require('react-native-animatable'); -var myFadingText = (Zoom me up, Scotty); +```html +Zoom me up, Scotty; ``` #### Properties diff --git a/package.json b/package.json index 342022d..f48647d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-animatable", "version": "0.1.0", - "description": "", + "description": "Standard set of easy to use animations for React Native", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1"