callstack / callstack/react-native-paper
Add onPressIn, onPressOut props to Button
- Ngôn ngữ chính
- TypeScript
- Star
- 14.5k
- Fork
- 2.2k
- Merge trung bình
- 5 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 12
Mô tả
**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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách xác định component Button bằng TypeScript và các props hiện có liên quan đến press, sau đó kiểm tra các test tương ứng. Công việc hoàn tất khi Button chấp nhận onPressIn và onPressOut làm props, truyền chúng qua theo yêu cầu và các test liên quan bao quát hành vi của chúng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react-native, typescript
- Lĩnh vực
- mobile
- Loại issue
- Tính năng
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 72/100