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

refactor: use touchable's disabled prop #372

Merged

Conversation

gawrysiak
Copy link
Collaborator

I have noticed there's a "disabled" prop for TouchableRipple. It should be able to simplify some code areas, like the multiple conditions inside the Button component. Is this okay to use?

Test plan

Snapshot tests working fine.

@callstack-bot
Copy link

Hey @gawrysiak, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

@satya164 satya164 merged commit 8081bb6 into callstack:material-next May 16, 2018
satya164 pushed a commit that referenced this pull request May 16, 2018
@gawrysiak gawrysiak deleted the refactor/touchable-disabled branch May 16, 2018 18:31
satya164 pushed a commit that referenced this pull request May 24, 2018
satya164 pushed a commit that referenced this pull request May 25, 2018
satya164 pushed a commit that referenced this pull request May 25, 2018
satya164 pushed a commit that referenced this pull request May 25, 2018
satya164 pushed a commit that referenced this pull request May 26, 2018
eriveltonelias pushed a commit to eriveltonelias/react-native-paper that referenced this pull request Sep 21, 2018
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.

3 participants