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

array added to all style propTypes #16

Merged
merged 1 commit into from
Dec 1, 2016
Merged

array added to all style propTypes #16

merged 1 commit into from
Dec 1, 2016

Conversation

nklhtv
Copy link
Contributor

@nklhtv nklhtv commented Dec 1, 2016

This fix prevent from warnings if array of styles is used instead of stylesheet or object.

<ModalDropdown
    dropdownStyle={[styles.dropdown, { width: dynamicallyCalculatedWidth }]}
    options={['1', '2']}
/>

@sohobloo sohobloo merged commit 608a410 into sohobloo:master Dec 1, 2016
@sohobloo
Copy link
Owner

sohobloo commented Dec 1, 2016

Thanks!

@sohobloo sohobloo added this to the v0.4.0 milestone Dec 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants