# react-native-parallax-scroll-opacity

> Reactnative a scrolling visual components, using HOC component encapsulation, convenient and reuse。

Latest version **0.0.2** (published 2018-04-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-parallax-scroll-opacity
pnpm add react-native-parallax-scroll-opacity
yarn add react-native-parallax-scroll-opacity
bun add react-native-parallax-scroll-opacity
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2018-04-27 |
| First published | 2018-04-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 2 |
| Unpacked size | 4.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | geekwill |
| Maintainers | willyu |
| Keywords | reactnative, component, react, parallax, scroll, opacity |

## Links

- npm: https://www.npmjs.com/package/react-native-parallax-scroll-opacity
- Repository: https://github.com/geekwill/react-native-parallax-scroll-opacity
- Homepage: https://github.com/geekwill/react-native-parallax-scroll-opacity#readme
- Issues: https://github.com/geekwill/react-native-parallax-scroll-opacity/issues
- npm.io page: https://npm.io/package/react-native-parallax-scroll-opacity

## Dependencies (2)

- [react](https://npm.io/package/react.md) ^16.3.2
- [react-native](https://npm.io/package/react-native.md) ^0.55.3

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2018-04-27
- 0.0.1 — 2018-04-27

## README

[![NPM](https://nodei.co/npm-dl/react-native-parallax-scroll-opacity.png?height=2)](https://nodei.co/npm/react-native-parallax-scroll-opacity/)

# react-native-parallax-scroll-opacity

Reactnative a scrolling visual components, using ` HOC ` component encapsulation, convenient and reuse。

## Installation

```base
npm i react-native-parallax-scroll-opacity --save
```

## Quick Start

```jsx
// index.js

import React, { Component } from 'react';
import {
  View,
} from 'react-native';
import DemoParallaxScrollOpacity from './DemoParallaxScrollOpacity.js';

class Demo extends Component {
  render() {
    return (
      <View style={Style.container}>
        <DemoParallaxScrollOpacity />
      </View>
    );
  }
}

export default Demo;
```

```jsx
// DemoParallaxScrollOpacity.js

import React, { Component } from 'react';
import {
  Text,
  View
} from 'react-native';
import ParallaxScrollOpacity from 'react-native-parallax-scroll-opacity'

class OpacityComponent extends Component {
  render() {
    return (
      <View style={{width: 200, height: 100, backgroundColor: 'red'}}>
        <Text>OpacityComponent</Text>
      </View>
    );
  }
}

class WrappedComponent extends Component {
  render() {
    return (
      <View style={{marginTop: 120}}>
        <Text>WrappedComponent</Text>
      </View>
    );
  }
}

export default ParallaxScrollOpacity(OpacityComponent)(WrappedComponent);
```

## Props

Prop | Type | Default | Description
---- | --- | --- | ---
containerStyle | Obejct | null | container style
opacityContainerStyle | Obejct | null | OpacityComponent style
contentContainerStyle | Obejct | null | WrappedComponent style

## Link
* [react-native-parallax-scroll-scale](https://github.com/geekwill/react-native-parallax-scroll-scale)

## Copyright

Copyright (c) 2017 [geekwill](http://www.geekcode.me/) Licensed under the MIT license.

---
_Source: https://npm.io/package/react-native-parallax-scroll-opacity · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
