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
在 render 里面 使用常量定义JSX:
const searchbar = ( <View> <View className="head"> <Input onConfirm="search_key" className="keyword" placeholder="目的地/关键字" placeholderClass="search-place" type="text" /> </View> <View className="seek"> <Text className="seek_history">搜索历史:</Text> {histories} </View> </View> );
然后使用
{searchbar}
lint 时提示 暂不支持无状态组件
暂不支持无状态组件
The text was updated successfully, but these errors were encountered:
13ff0eb
No branches or pull requests
在 render 里面 使用常量定义JSX:
然后使用
lint 时提示
暂不支持无状态组件
The text was updated successfully, but these errors were encountered: