Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

Expo vector icons not finding icon

$
0
0

I'm using @expo/vector-icons and I'm using Ionicons, but the icon is not being displayed, I did everything following the documentation, but no icon is being displayed. Below is how it is being displayed on the device:

enter image description here

My code:

import React from 'react';import { useNavigation } from '@react-navigation/native';import { Ionicons } from '@expo/vector-icons';import { Container, BackButton, BackButtonText } from './styles';export function ForgotPassword() {  const navigation = useNavigation();  function goBack() {    navigation.goBack();  }  return (<Container><BackButton onPress={goBack}><Ionicons name="md-checkmark-circle" size={32} color="green" /><BackButtonText>Voltar</BackButtonText></BackButton></Container>  );}

Viewing all articles
Browse latest Browse all 6287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>