【问题标题】:native base customize components原生基础定制组件
【发布时间】:2017-03-21 07:45:44
【问题描述】:

我正在点击此链接来自定义我的 react-native 组件 Theming NativeBase Apps 但我无法找到 light.js 并继续进行

【问题讨论】:

  • 你是说你没有在/node_modules/native-base/Components/Themes/light.js中得到它
  • 最新的原生基础路径不同。 /node_modules/native-base/src/backward/Themes/light.js

标签: react-native native-base


【解决方案1】:

在你的应用根目录下安装 native-base 后运行以下命令。

node node_modules/native-base/ejectTheme.js

https://docs.nativebase.io/Customize.html#Customize

将版本设置为 2.2.0,它将向您展示主题化 nativeBase 应用程序的步骤。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-07-29
    • 2020-12-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多