Open pke opened 3 weeks ago
Hey! 👋
It looks like you've omitted a few important sections from the issue template.
Please complete Description, Steps to reproduce, Snack or a link to a repository, SVG version, React Native version and Platforms sections.
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?
Hey bot, its a feature request not a bug. The template looks totally different and I filled out everything.
Feature Request
It would be nice to be able to specify HTTP headers for
SvgUri
.Why it is needed
Sometimes the server could serve a different variant of the SVG file depending on client features like dark contrast or inverted colours.
Possible implementation
It would just need on addition property
headers
which is modelled after the defaultImageURISource
prop.Code sample
Worth a PR?
The caller would need to ensure that
headers
is stable, or it would cause unnecessary re-rerenders.