callstack / callstack/react-native-paper
Add onPressIn, onPressOut props to Button
オープン
初心者向け
feature request
- 主要言語
- TypeScript
- スター
- 14.5k
- フォーク
- 2.2k
- 平均マージ
- 5日 23時間
- マージ済み PR(30日)
- 12
説明
**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.
コントリビューションガイド
調査の方向性
まず TypeScript の Button コンポーネントと既存の press 関連 props を見つけ、次に関連するテストを確認します。Button が onPressIn と onPressOut を props として受け付け、要求どおりに引き渡し、関連するテストでその動作がカバーされていれば、作業は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react-native, typescript
- 領域
- mobile
- issue の種類
- 機能追加
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 72/100