react native expo using icon



There are a few icon library supported by Expo which include MaterialIcons or IconsIcons.


To use these libary



import { MaterialIcons } from '@expo/vector-icons';



or


import { Ionicons } from '@expo/vector-icons';



And you can start to render icon of your linkings simply by specifying the name, for example :-


<MaterialIcons name="play-circle-filled" size={50} color="#b0f8ec" />


This will display a 'play icon'.

<Ionicons name="md-checkmark-circle" size={32} color="green" />


To get a full list of icon that is supported, you can try using the following link.

Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm