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

Enables image prop to receive any component and render it instead of Image #9

Merged
merged 1 commit into from
Feb 5, 2016
Merged

Enables image prop to receive any component and render it instead of Image #9

merged 1 commit into from
Feb 5, 2016

Conversation

danielweinmann
Copy link
Collaborator

It simply enables us to do the following:

import Icon from 'react-native-vector-icons/FontAwesome'

<GiftedForm.TextInputWidget
  image={ <Icon name="pencil" size={15} color={Colors.lightGray} /> }
/>

What do you say, @FaridSafi?

@FaridSafi
Copy link
Owner

Looks great man, I will merge asap

FaridSafi added a commit that referenced this pull request Feb 5, 2016
Enables image prop to receive any component and render it instead of Image
@FaridSafi FaridSafi merged commit 6650fdc into FaridSafi:master Feb 5, 2016
@danielweinmann
Copy link
Collaborator Author

Thanks! :D

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