Skip to content

raise default activeOpacity, add default onPress#86

Open
heaversm wants to merge 1 commit into
masterfrom
event-defaults
Open

raise default activeOpacity, add default onPress#86
heaversm wants to merge 1 commit into
masterfrom
event-defaults

Conversation

@heaversm
Copy link
Copy Markdown

@heaversm heaversm commented Jun 13, 2017

Closes #85

static defaultProps = {
activeOpacity: 0.2,
activeOpacity: 0.6,
onPress: null,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we need a default for onPress it should probably be a function like () => null, otherwise I believe typescript would no likey

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@heaversm I agree with @mikehobi. Can you update plz?

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