callstack / callstack/react-native-paper

Where is the onClearIconPress on Searchbar component?

未关闭
#4,208 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
question Searchbar
主要语言
TypeScript
星标
14.5k
派生
2.2k
平均合并
5 天 23 小时
30 天内合并 PR
12

描述

### Ask your Question

image

image

Seems like this prop type is missing from Searchbar but the documentation says otherwise:

https://callstack.github.io/react-native-paper/docs/components/Searchbar

Btw I'm using React Native Paper v5 (docs are in the same version)

贡献指南

打开贡献指南

调研方向

首先,将 Searchbar 组件的 TypeScript prop 定义与 issue 中链接的 React Native Paper v5 Searchbar 文档进行比较。在一个小型使用示例中重现所报告的类型不匹配,然后确认文档中说明的 onClearIconPress API 与组件的类型一致。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native, typescript
领域
frontend, mobile
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。