Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用了 react-native-vector-icons 中的icon #211

Open
baiachen opened this issue Nov 26, 2021 · 2 comments
Open

使用了 react-native-vector-icons 中的icon #211

baiachen opened this issue Nov 26, 2021 · 2 comments

Comments

@baiachen
Copy link

style.md 中 使用 icon font

icon: { uri: fontUri('FontAwesome', 'navicon', 24)},

如果项目中使用了 react-native-vector-icons 这样的库,请参考 example 中 Options.js 这个文件。

Options.js 并没有使用这个库的例子,文档是不是未及时更新?

@listenzz
Copy link
Owner

是的,文档老了,这部分例子移除了

@baiachen
Copy link
Author

react-native-vector-icons 现在只能异步获取icon的对象,这咋整啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants