- 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.
- Citrix XenApp Performance Essentials
- Linux操作系統基礎
- 每天5分鐘玩轉Kubernetes
- Instant Handlebars.js
- STM32庫開發實戰指南:基于STM32F4
- Linux內核觀測技術BPF
- Linux內核設計的藝術:圖解Linux操作系統架構設計與實現原理
- ElasticSearch Cookbook
- Social Data Visualization with HTML5 and JavaScript
- 跟老男孩學Linux運維:Shell編程實戰
- HTML5 Enterprise Application Development
- VMware vSphere 5.1 Cookbook
- Learn Quantum Computing with Python and IBM Quantum Experience
- Linux系統安全:縱深防御、安全掃描與入侵檢測
- 再也不踩坑的kubernetes實戰指南