callstack / callstack/react-native-paper

Add SVG support for Card Cover

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

説明

**Is your feature request related to a problem? Please describe.**
We can not add an SVG as Card Cover: https://callstack.github.io/react-native-paper/docs/components/Card/CardCover.

Event with this library it does not works: https://www.npmjs.com/package/react-native-svg
It gives this error: `TypeError: cyclical structure in JSON object`

**Describe the solution you'd like**
It will be great to support with a props names SVG like:

` }} />`

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

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

調査の方向性

Start with the Card.Cover component and its documented source API, then compare the reported behavior with react-native-svg and the linked SVG example. Confirm how the existing source value is handled before deciding how SVG content should be accepted. Done means an SVG cover renders without the cyclical-structure error while existing Card Cover usage continues to work.

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

評価

技術スタック
react-native, typescript
領域
mobile
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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