An adaptation of react-native-vector-icons for react web
npm install react-web-vector-icons``sh`
npm i -S react-web-vector-icons
1 - Add css font-face for all fonts in your index.html file
`html`
2 - Add require of fonts for webpack in your index.js file
`javascript`
require('react-web-vector-icons/fonts');
3 - Use
`javascript
import Icon, { FontAwesome, Feather } from 'react-web-vector-icons';
font='Entypo'
color='green'
size={20}
// style={{}}
/>
color='white'
size={30}
// style={{}}
/>
color='#007ACC'
size={40}
// style={{}}
/>
``
The fonts FontAwesome5 and FontAwesome5Brands are not yet implemented, you are invited to make a pr if you want to use this fonts.
#### Gallery of icons -- https://oblador.github.io/react-native-vector-icons/
MIT.
Nicolas Sturm -- sturmenta