Skip to content

Commit

Permalink
feat(using-animated-api): Releases version 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chagasaway committed Dec 2, 2017
1 parent 97c4cd2 commit 23b6749
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 19 deletions.
17 changes: 13 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
### 0.1.0
- Initial component

* Initial component

### 0.1.1
- Add keywords for react.parts component submission

* Add keywords for react.parts component submission

### 0.1.2
- Fix package dependencies with react-timer-mixin and react-tween-state

* Fix package dependencies with react-timer-mixin and react-tween-state

### 0.1.4
- Remove peerDependencies and update react import (now compatible with recent react-native versions)

* Remove peerDependencies and update react import (now compatible with recent
react-native versions)

### 0.2.0

* Use Animated API instead of TimerMixin and TweenState
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,17 @@ imageHeight={1000} // Slide's image height
### Usage Example

```javascript
'use strict';
import FadingSlides from 'react-native-fading-slides';

var FadingSlides = require('react-native-fading-slides');

var slides = [
const slides = [
{
image: require('image!squared-image'),
imageWidth: 100,
imageHeight: 100,
title: 'Hello World',
subtitle: 'This is a beautiful world',
titleColor: '#fff',
subtitleColor: '#fff'
subtitleColor: '#fff',
},
{
image: require('image!wide-image'),
Expand All @@ -55,13 +53,13 @@ var slides = [
title: 'Bye World',
subtitle: 'This is a see you soon',
titleColor: '#fff',
subtitleColor: '#fff'
subtitleColor: '#fff',
}
];

//...

render: function() {
render() {
return (
<View>
<FadingSlides
Expand Down
13 changes: 5 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "react-native-fading-slides",
"version": "0.1.4",
"version": "0.2.0",
"description": "Simple looped fading slides carousel for React Native",
"main": "fading-slides.component.js",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand All @@ -19,14 +19,11 @@
"ios",
"android"
],
"author": "Fellipe Chagas <chagas.0@gmail.com> (https://github.com/chagasaway)",
"author":
"Fellipe Chagas <chagas.0@gmail.com> (https://github.com/chagasaway)",
"license": "MIT",
"bugs": {
"url": "https://github.com/chagasaway/react-native-fading-slides/issues"
},
"homepage": "https://github.com/chagasaway/react-native-fading-slides",
"dependencies": {
"react-timer-mixin": "^0.13.3",
"react-tween-state": "^0.1.3"
}
"homepage": "https://github.com/chagasaway/react-native-fading-slides"
}

0 comments on commit 23b6749

Please sign in to comment.