react-native-ios-context-menu icon indicating copy to clipboard operation
react-native-ios-context-menu copied to clipboard

Use component as icon

Open Kordonme opened this issue 3 years ago • 1 comments

Is it possible to use a custom component as an icon? We have a component render some svg using react-native-svg.

Kordonme avatar Dec 07 '21 11:12 Kordonme

I doubt this is possible. However, you can use a custom image.

nandorojo avatar Oct 07 '22 23:10 nandorojo

I have the exact same case with SVG assets. Many projects have their own iconography - but SVG configurations are finicky, so I would suggest adding support for any arbitrary component.

go-sean-go avatar May 10 '23 23:05 go-sean-go

You'll have to use an image in this case.

nandorojo avatar Oct 16 '23 16:10 nandorojo