- React Native Blueprints
- Emilio Rodriguez Martinez
- 185字
- 2021-07-02 15:20:02
Using vector icons
For this app, we will use two icons: a plus sign to add feeds and a trash bin to remove them. React Native doesn't include a list of icons to be used by default, so we will need to add one. In our case, since we are using native-base as our UI library, it's very convenient to use react-native-vector-icons, as it is supported natively from native-base, but it requires one extra configuration step:
react-native link
Some libraries use extra native capabilities which are not present in React Native. In the case of react-native-vector-icons, we need to include a number of vector icons stored in the library accessible natively. For these kinds of tasks, React Native includes react-native link, a script to automatically link the provided library to prepare all the native code and resources, which are needed for this library to be accessible within our app. Lots of libraries will require this extra step, but thanks to React Native's CLI, it is a very simple step, which in the past required moving files around projects and messing with configuration options.
- Kubernetes修煉手冊
- 鴻蒙生態:開啟萬物互聯的智慧新時代
- Linux內核完全注釋(20周年版·第2版)
- Windows Phone 7.5 Data Cookbook
- 混沌工程實戰:手把手教你實現系統穩定性
- 網絡操作系統管理與應用(第三版)
- Linux自動化運維:Shell與Ansible(微課版)
- 嵌入式實時操作系統μC/OS原理與實踐
- Dreamweaver CS5.5 Mobile and Web Development with HTML5,CSS3,and jQuery
- Building Telephony Systems With Asterisk
- Zabbix監控系統之深度解析和實踐
- Agile IT Security Implementation Methodology
- 分布式實時處理系統:原理、架構與實現
- Linux網絡操作系統項目教程(RHEL 6.4/CentOS 6.4)(第2版)
- 鴻蒙應用程序開發