callstack / callstack/react-native-paper
Where is the onClearIconPress on Searchbar component?
Open
question
Searchbar
- Dominant language
- TypeScript
- Stars
- 14.5k
- Forks
- 2.2k
- Avg merge
- 5d 23h
- Merged PRs (30d)
- 12
Description
### Ask your Question
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)
Contributor guide
Research direction
Start by comparing the Searchbar component's TypeScript prop definitions with the React Native Paper v5 Searchbar documentation linked in the issue. Reproduce the reported type mismatch in a small usage example, then confirm that the documented onClearIconPress API and the component's types agree.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100