Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typings for IndicatorViewPager Props missing events #173

Open
martin-braun opened this issue Aug 6, 2019 · 0 comments · May be fixed by #174
Open

Typings for IndicatorViewPager Props missing events #173

martin-braun opened this issue Aug 6, 2019 · 0 comments · May be fixed by #174

Comments

@martin-braun
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant