callstack / callstack/react-native-paper
Add onPressIn, onPressOut props to Button
- Langage dominant
- TypeScript
- Étoiles
- 14.5k
- Forks
- 2.2k
- Merge moyen
- 5 j 23 h
- PR mergées (30 j)
- 12
Description
**Is your feature request related to a problem? Please describe.**
It'd be very helpful to add `onPressIn` and `onPressOut` props to the `Button` component.
**Describe the solution you'd like**
Add additional props `onPressIn` and `onPressOut` to pass to the `Button` component.
**Describe alternatives you've considered**
Manually wrapping it with `Pressable`
**Additional context**
I already saw someone requested this feature before.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start by locating the TypeScript Button component and its existing press-related props, then inspect the associated tests. The work is done when Button accepts onPressIn and onPressOut as props, passes them through as requested, and the relevant tests cover their behavior.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- react-native, typescript
- Domaine
- mobile
- Type d'issue
- Fonctionnalité
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- Active
- Clarté
- Plutôt claire
- Accessibilité débutants
- 72/100