taro
taro copied to clipboard
RN在app.config.ts配置tabBar的custom值为true,并且在新建src/custom-tab-bar文件,无法自定义tabbar,在微信小程序端可自定义tabbar,而RN端无法自定义。迫切需要支持自定义tabbar
这个特性解决了什么问题?
自定义tabbar
这个 API 长什么样?
使用方式同用微信小程序端配置自定义tabbar
goku@WukongdeMacBook-Pro maxen-app-fe % taro info 👽 Taro v3.6.17
Taro CLI 3.6.17 environment info: System: OS: macOS 13.3 Shell: 5.9 - /bin/zsh Binaries: Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node Yarn: 1.22.19 - ~/.nvm/versions/node/v18.16.0/bin/yarn npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm npmPackages: @tarojs/cli: ^3.6.18 => 3.6.20 @tarojs/components: ^3.6.18 => 3.6.20 @tarojs/helper: ^3.6.18 => 3.6.20 @tarojs/plugin-framework-react: ^3.6.18 => 3.6.20 @tarojs/plugin-mini-ci: ^3.6.18 => 3.6.18 @tarojs/plugin-platform-alipay: ^3.6.18 => 3.6.20 @tarojs/plugin-platform-h5: ^3.6.18 => 3.6.20 @tarojs/plugin-platform-jd: ^3.6.18 => 3.6.20 @tarojs/plugin-platform-qq: ^3.6.18 => 3.6.20 @tarojs/plugin-platform-swan: ^3.6.18 => 3.6.20 @tarojs/plugin-platform-tt: ^3.6.18 => 3.6.20 @tarojs/plugin-platform-weapp: ^3.6.18 => 3.6.20 @tarojs/react: ^3.6.18 => 3.6.20 @tarojs/rn-runner: ^3.6.18 => 3.6.20 @tarojs/rn-supporter: ^3.6.18 => 3.6.20 @tarojs/runtime: ^3.6.18 => 3.6.20 @tarojs/runtime-rn: ^3.6.18 => 3.6.20 @tarojs/shared: ^3.6.18 => 3.6.20 @tarojs/taro: ^3.6.18 => 3.6.20 @tarojs/taro-loader: ^3.6.18 => 3.6.20 @tarojs/taro-rn: ^3.6.18 => 3.6.20 @tarojs/webpack5-runner: ^3.6.18 => 3.6.20 babel-preset-taro: ^3.6.18 => 3.6.20 eslint-config-taro: ^3.6.18 => 3.6.20 expo: ~47.0.3 => 47.0.14 react: ^18.1.0 => 18.2.0 react-native: ^0.70.1 => 0.70.13 taro-ui: ^3.1.1 => 3.1.1 npmGlobalPackages: typescript: 5.3.3