react-native-tree-select icon indicating copy to clipboard operation
react-native-tree-select copied to clipboard

Suggestion: add react-native-vector-icons in readme / 建议:在自述文件中添加react-native-vector-icons

Open JimTeva opened this issue 3 years ago • 1 comments

I was running some issues displaying the icons with the react-native Image component, then I saw that react-native-vector-icons was implemented in the example, I tried it and it worked. Because react-native Image component wasn't working for me with react-native 0.61.5, I would advise to add react-native-vector-icons as a dependency for this library in the readme description as a fix in case the first Image component doesn't work. I would also indicate that the font used in the example is Ionicons and suggest the following import

import Icon from 'react-native-vector-icons/Ionicons';

--------------- translated by Google -->

我正在运行一些问题,以显示带有react-native Image组件的图标,然后看到示例中实现了react-native-vector-icons,我尝试了一下并成功了。 因为react-native Image组件不适用于react-native 0.61.5,所以我建议在自述文件中添加react-native-vector-icons作为此库的依赖项,以解决第一个Image问题 组件不起作用。 我还要指出示例中使用的字体是Ionicons并建议以下导入

import Icon from 'react-native-vector-icons/Ionicons';

JimTeva avatar May 01 '21 05:05 JimTeva