我在本机中使用本机库。我已经完成了以下步骤来更改字体,但它不起作用:
myfont.ttf
:
node_modules/native-base/Fonts
node_modules/native-base/src/theme/variables/...
并在所有三个文件中将所有字体系列更改为myFont.ttf
(commonColor.js,material.js和platform.js)请帮我解决这个问题。
./native-base-theme/variables/<theme-you-use>.js
上的自定义字体更新主题,也可以在the same docs above上进行描述