Closed nbastoWM closed 7 years ago
+1
I managed to do something like
text: <Text><Icon style={styles.icon} name="camera"/> See the camera photo</Text>,
Using react-native-material-design, but the icons are aligned incorrectly and look ugly. I couldn't fix the alignment for some reason, any ideas?
Hi guys.
Just implemented this in 1.8.2 (in fact you can now pass in any sub-view, so not just an icon). You can pass in styling props to the backgroundStyle to make sure it is nicely centered etc (see the updated Advanced example for how to have a user icon next to a "login" label).
Enjoy...
I guess the title says it all.