React-Native-ViewPager icon indicating copy to clipboard operation
React-Native-ViewPager copied to clipboard

Typings for IndicatorViewPager Props missing events

Open martin-braun opened this issue 6 years ago • 0 comments

This works:

<ViewPager onPageSelected={this.onPageSelected.bind(this)} ... />

This not:

<IndicatorViewPager onPageSelected={this.onPageSelected.bind(this)} ... />

It complains that onPageSelected is not a prop on IndicatorViewPager, although it clearly is and would uses it to pass the event up from this to this.

Apparently, the typings aren't complete.

martin-braun avatar Aug 06 '19 12:08 martin-braun