<commit_before># react-native-image-slider

A quick and easy image slider for react native.

![GIF](final.gif)

## Installation

```bash
npm install react-native-image-slider --save
```

or

```bash
yarn add react-native-image-slider
```

## Usage

```javascript
import ImageSlider from 'react-native-image-slider';

// ...

render() {
  return (<ImageSlider images={[
    'http://placeimg.com/640/480/any',
    'http://placeimg.com/640/480/any',
    'http://placeimg.com/640/480/any'
  ]}/>)
}
```

### Autoplay / Custom buttons / Custom slide / Loop

```javascript
class Example extends Component<{}> {
  render() {
    const images = [
      'https://placeimg.com/640/640/nature',
      'https://placeimg.com/640/640/people',<commit_msg>Fix README a bit.<commit_after># react-native-image-slider

A quick and easy image slider for react native.

![GIF](final.gif)

## Installation [NEW VERSION]
Temporary it is
```bach
npm install https://github.com/PaulBGD/react-native-image-slider --save
```
or
```bash
yarn add https://github.com/PaulBGD/react-native-image-slider
```

## Installation [OLD VERSION]

```bash
npm install react-native-image-slider --save
```
or
```bash
yarn add react-native-image-slider
```

## Usage

```javascript
import ImageSlider from 'react-native-image-slider';

// ...

render() {
  return (<ImageSlider images={[
    'http://placeimg.com/640/480/any',
    'http://placeimg.com/640/480/any',
    'http://placeimg.com/640/480/any'
  ]}/>)
}
```

### Autoplay / Custom buttons / Custom slide / Loop

```javascript
class Example extends Component<{}> {
  render() {
    const images = [
      'https://placeimg.com/640/640/nature',
      'https://placeimg.com/640/640/people',
{'fraction_non_alphanumeric': 0.18368544600938966, 'fraction_numerical': 0.035211267605633804, 'mean_word_length': 3.451697127937337, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4833278', 'n_tokens_mistral': 652, 'n_tokens_neox': 579, 'n_words': 124}