1. 13
    Make a Touchable Button in React Native
    3m 46s

Make a Touchable Button in React Native

Share this video with your friends

Send Tweet

Touchable buttons are all over mobile applications, so we’ll look at how to make a few different styles of buttons in React Native. Unlike on the web, not every component type accepts an onPress prop, so we’ll look at how to wrap other components in a Touchable element in order to make a button.

Juliette Rapala
Juliette Rapala
~ 5 years ago

For the lazy folks out there 🙂

info: {
	marginHorizontal: 40,
	marginVertical: 10,
	padding: 10,
	backgroundColor: '#FFF',
	borderWidth: 1,
	borderColor: '#DDD',
	borderRadius: 4,
},
Simon Carter
Simon Carter
~ 5 years ago

Thanks Juliette. Shame you can't like comments, so 👍