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

Added logic necessary to allow for a custom close button control to b… #45

Merged
merged 1 commit into from
Mar 11, 2019

Conversation

MattConflitti
Copy link

…e passed like prev and next

The variable close that is destructured from this.props.controls is never checked for being set to anything other than null nor given an opportunity to be assigned the controls object. Your documentation implies that you should be able to inject a custom component for the close button, so I thought I would take a crack at fixing it. I tested this within my app and it works.

@antonKalinin
Copy link
Owner

@MattConflitti Thanks for PR 👍
Please find it in 2.1.4.

@antonKalinin antonKalinin merged commit 9780f93 into antonKalinin:master Mar 11, 2019
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 this pull request may close these issues.

None yet

2 participants