1.0.2 • Published 5 years ago

prototype-to-scrollview v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Installation

npm install prototype-to-scrollview

Usage

import PrototypeToScrollview from 'prototype-to-scrollview'

class App extends React.Component {
  render() {
    return (
      <Animated.ScrollView
                ref={ele => this._scrollResponder = ele}
                {...this.props}
            />
    );
  }
  getScrollResponder = () => this._scrollResponder;

  handleScrollTo = (x, y) => this.scrollTo(x, y)
}

Object.assign(App.prototype, PrototypeToScrollview);
1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago