callstack / callstack/react-native-paper
Add SVG support for Card Cover
- Vorherrschende Sprache
- TypeScript
- Sterne
- 14.5k
- Forks
- 2.2k
- Ø Merge
- 5 T. 23 Std.
- Gemergte PRs (30 T.)
- 12
Beschreibung
**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:
` }} />`
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- react-native, typescript
- Bereich
- mobile
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100