Skip to content

Conversation

@FaridSafi
Copy link
Contributor

Hello, thank you Álvaro for this component.
I added support for android spinner.
I changed isLoading to a state param to make the view refreshable. Also added a isDisabled param.
These modifications do not impact current implementations because the constructor is setting the states from the props

Hello, thank you Álvaro for this component.
I added support for android spinner.
I changed isLoading to a state param to make the view refreshable. Also added a isDisabled param.
These modifications do not impact current implementations because the constructor is setting the states from the props
@alvaromb
Copy link
Collaborator

alvaromb commented Nov 9, 2015

Many thanks @FaridSafi!!

The PR looks cool, I'll try to merge it this evening 👍

alvaromb added a commit that referenced this pull request Nov 9, 2015
Android spinner support, added new ``isDisabled`` state.
@alvaromb alvaromb merged commit 441eabe into APSL:master Nov 9, 2015
@alvaromb
Copy link
Collaborator

alvaromb commented Nov 9, 2015

Merged! Will release tomorrow.

@alvaromb
Copy link
Collaborator

I've changed a bit your code before releasing https://github.com/APSL/react-native-button/releases/tag/v2.2.0.

You may want to take a look at Props in getInitialState Is an Anti-Pattern to understand why I deleted the state in the constructor function.

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.

2 participants