We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
微信小程序
小程序基础库: 2.15.0 使用框架: React
import { FC } from 'react'; import { Input, InputProps } from "@tarojs/components"; const Index: FC<InputProps> = (props) => { return ( <Input {...props} /> ); }; export default Index;
IDE 提示报错:
Module: ... has no exported member 'InputProps'
期望导出 InputProps 方便自定义组件时使用
没有导出声明可用
Taro CLI 3.2.13 environment info: System: OS: macOS 11.4 Shell: 5.8 - /bin/zsh Binaries: Node: 15.4.0 - /usr/local/bin/node Yarn: 1.22.10 - /usr/local/bin/yarn npm: 7.6.0 - /usr/local/bin/npm npmPackages: @tarojs/components: 3.2.13 => 3.2.13 @tarojs/mini-runner: 3.2.13 => 3.2.13 @tarojs/react: 3.2.13 => 3.2.13 @tarojs/runtime: 3.2.13 => 3.2.13 @tarojs/taro: 3.2.13 => 3.2.13 @tarojs/webpack-runner: 3.2.13 => 3.2.13 babel-preset-taro: 3.2.13 => 3.2.13 eslint-config-taro: 3.2.13 => 3.2.13 react: ^17.0.0 => 17.0.2
The text was updated successfully, but these errors were encountered:
fixed
Sorry, something went wrong.
ZakaryCode
No branches or pull requests
相关平台
微信小程序
小程序基础库: 2.15.0
使用框架: React
复现步骤
IDE 提示报错:
期望结果
期望导出 InputProps 方便自定义组件时使用
实际结果
没有导出声明可用
环境信息
The text was updated successfully, but these errors were encountered: