function scrollTo(y, x, animated) {
    if (typeof y === 'number') {
      console.warn('`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, animated: true})` instead.');
    } else {
      var _ref = y || {};

      x = _ref.x;
      y = _ref.y;
      animated = _ref.animated;
    }

    this.getScrollResponder().scrollResponderScrollTo({ x: x || 0, y: y || 0, animated: animated !== false });
  }
/**
   * Scrolls to a given x, y offset, either immediately or with a smooth animation.
   * Syntax:
   *
   * scrollTo(options: {x: number = 0; y: number = 0; animated: boolean = true})
   *
   * Note: The weird argument signature is due to the fact that, for historical reasons,
   * the function also accepts separate arguments as as alternative to the options object.
   * This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.
   */
Scrolls to a given x, y offset, either immediately or with a smooth animation.
Syntax.

{x: number = 0; y: number = 0; animated: boolean = true})

The weird argument signature is due to the fact that, for historical reasons,
the function also accepts separate arguments as as alternative to the options object.
This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.
Scrolls to a given x y offset either immediately or with a smooth animation . Syntax . { x : number = 0 ; y : number = 0 ; animated : boolean = true } ) The weird argument signature is due to the fact that for historical reasons the function also accepts separate arguments as as alternative to the options object . This is deprecated due to ambiguity ( y before x ) and SHOULD NOT BE USED .
function scrollTo(y, x, animated) {
    if (typeof y === 'number') {
      console.warn('`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, animated: true})` instead.');
    } else {
      var _ref = y || {};
      x = _ref.x;
      y = _ref.y;
      animated = _ref.animated;
    }
    this.getScrollResponder().scrollResponderScrollTo({ x: x || 0, y: y || 0, animated: animated !== false });
  }
function scrollTo ( y , x , animated ) { if ( typeof y === 'number' ) { console . warn ( '`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, animated: true})` instead.' ) ; } else { var _ref = y || { } ; x = _ref . x ; y = _ref . y ; animated = _ref . animated ; } this . getScrollResponder ( ) . scrollResponderScrollTo ( { x : x || 0 , y : y || 0 , animated : animated !== false } ) ; }
Scrolls to a given x, y offset, either immediately or with a smooth animation.
Scrolls to a given x y offset either immediately or with a smooth animation .