callstack / callstack/react-native-paper

TextInput component's right prop should accept any React.ReactNode content

オープン
#2,866 コメント 10 件 リアクション 1 件 担当者 0 名 GitHub で見る
enhancement Hacktoberfest Stale TextInput
主要言語
TypeScript
スター
14.5k
フォーク
2.2k
平均マージ
5日 23時間
マージ済み PR(30日)
12

説明

**Is your feature request related to a problem? Please describe.**
I want to be able to show an `ActivityIndicator` as the `right` prop for the `TextInput` to show loading states.

**Describe the solution you'd like**
The `TextInput` component's `right` prop should accept any `React.ReactNode` content and render it on the right side of the input.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
This is what I would expect the final result to look like
Screen Shot 2021-08-20 at 8 44 39 AM

react-native: 0.65.1
react-native-paper: 4.9.2
react-native-vector-icons: 8.1.0

repro: [snack example](https://snack.expo.dev/q_-DRFxH_)

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

TextInput コンポーネントの `right` prop から始め、リンクされた Snack の例を使って、要求されたローディング状態のケースを再現します。ActivityIndicator を `right` として渡せ、input の右側に表示されることを確認します。payload には、実行するソースファイルやテストは記載されていません。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
react, react-native, typescript
領域
frontend, mobile
issue の種類
機能追加
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。