arniu / react-native-ionicons

Ionic icons for React Native
MIT License
42 stars 11 forks source link

Icon is not showing, instead chinese? #22

Closed seyedasfar closed 4 years ago

seyedasfar commented 4 years ago

I have installed react-native-ionicons on my react-native project

 "react": "16.13.1",
 "react-native": "0.63.2",
"react-native-ionicons": "^4.6.5",

the code

import Icon from 'react-native-ionicons';

export default function () {
  return (
    <View>
      <Icon ios="ios-add" android="md-add" />
    </View>
  );
}

the screenshot Screenshot_20200825-234516_adex 1

armata99 commented 4 years ago

Same with me. I used it with bottom tab navigator, also tried to remove and add it again with yarn and reinstalled both node modules and the application itself. nothing changed.

seyedasfar commented 4 years ago

issue solved by linking the library

npx react-native link react-native-ionicons