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

Change drawer icon #2307

Closed
isAlmogK opened this issue Aug 31, 2017 · 7 comments
Closed

Change drawer icon #2307

isAlmogK opened this issue Aug 31, 2017 · 7 comments

Comments

@isAlmogK
Copy link

Is there an example or some simple code showing how you can change the drawer icon, I'm not seeing this in the docs and not sure how to do this.

Thanks,
Almog

@esb1
Copy link

esb1 commented Aug 31, 2017

image
It seems to me there is a prop you can pass to Scene when declaring it, unless I misunderstood your question.
Image is from Docs - API

@isAlmogK
Copy link
Author

@esb1 I'm not sure I understand the following "you have to set it together with drawer prop"

And is this correct
drawerImage={{require('../../images/icon.png')}}

@mcabs3
Copy link
Collaborator

mcabs3 commented Aug 31, 2017

I think you need to remove a pair of {}

drawerImage={require('path/to/image.png')}

@isAlmogK
Copy link
Author

isAlmogK commented Sep 1, 2017

Thanks this is perfect

@isAlmogK isAlmogK closed this as completed Sep 1, 2017
@adriannecris
Copy link

Does anybody know how to reposition the drawer image?

@adriannecris
Copy link

image

@Nathar2412
Copy link

@adriannecris Did you find the solution for this. I am facing the same problem.

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

No branches or pull requests

5 participants