Open martin-braun opened 5 years ago
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.
This works:
This not:
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.