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

How to add a image to the button #41

Open
eoinlane opened this issue Jul 13, 2016 · 3 comments
Open

How to add a image to the button #41

eoinlane opened this issue Jul 13, 2016 · 3 comments

Comments

@eoinlane
Copy link

Thanks very much for creating this button. If i wanted to add a image to the button how might i do that?

I have attached a mock up of what i am looking for.

Eoin
screen shot 2016-07-13 at 14 41 25

@ide
Copy link
Owner

ide commented Jul 13, 2016

You should be able to write:

<Button>
  <Image />
  <Text>Marketing</Text>
</Button>

and fiddle with the styling to get the layout you want.

@alainib
Copy link

alainib commented Sep 22, 2017

@ide this doesn't work

@alainib
Copy link

alainib commented Sep 22, 2017

i found this repo
https:/bird-frank/react-native-combined-button

need some tweak for style but work

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

3 participants