callstack / callstack/react-native-paper
Add SVG support for Card Cover
- 主要言語
- 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