callstack / callstack/react-native-paper

Card Components require "children" prop despite child views

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

説明

### Current behaviour
The card components (parent, title, content etc) demands explicit "children" prop even with child views.

### Expected behaviour
The card components should not require "children" prop when child views are present

### How to reproduce?
Create any Card components in a project.

### Preview

![Image](https://github.com/user-attachments/assets/a217d3a2-98b0-4463-b677-a2fdb373a5c8)

### Your Environment

| software | version
| --------------------- | -------
| ios | x
| android | x
| react-native | 0.78.2
| react-native-paper | 5.13.3
| node | x.x.x
| npm or yarn | x.x.x
| expo sdk | x.x.x

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

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

評価

この issue はまだ評価されていません。

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

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