Closed RobinBobin closed 1 week ago
Hi, Is it possible to use your package to draw a shadow around an SvgXml from react-native-svg?
SvgXml
react-native-svg
<Shadow> <SvgXml xml={` <svg height='100%' width='100%'> <rect fill='yellow' height='50%' width='50%' x='25%' y='25%' /> </svg> `} /> </Shadow>
results in the svg not displayed. <Shadow><Text ... /></Shadow> from the readme renders fine.
<Shadow><Text ... /></Shadow>
Thanks.
Hi, I can not tell why this doesn't work. Maybe nested svgs in this way don't work. Maybe try to wrap the SVG with a view?
Closing due to inactivity
Hi, Is it possible to use your package to draw a shadow around an
SvgXml
fromreact-native-svg
?results in the svg not displayed.
<Shadow><Text ... /></Shadow>
from the readme renders fine.Thanks.