GeekyAnts / GeekyAnts/NativeBase

onPress is not a property of Pressable?

Open
#5,415 10 comments 1 reaction 0 assignees View on GitHub
bug triage v3
Dominant language
TypeScript
Stars
20.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

### Description

When invoking the pressable component (or IconButton / Button) I am told that onPress is not a valid property

### CodeSandbox/Snack link

https://codesandbox.io/embed/blue-water-2gvzpy?fontsize=14&hidenavigation=1&theme=dark

### Steps to reproduce

# Screenshot
![image](https://user-images.githubusercontent.com/43330642/192171696-dc78f36b-1c03-458b-8bab-e47b8639191f.png)

# Code Sandbox to reproduce

# Project
https://github.com/Andrew-Pynch/PitchShifter

Clone this repository and notice that the buttons do not inherit the onPress method as described in the bug report

### NativeBase Version

3.4.9

### Platform

- [ ] Android
- [X] CRA
- [ ] Expo
- [ ] iOS
- [ ] Next

### Other Platform

_No response_

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.