I want to add a static xml asset to my react native project and access it just like accessing images.
I added
resolver: { assetExts: [\'png\', \'