How to Use RealityKit's image AnchorEntity in SwuftUI

I want to use RealityKit's AnchorEntity initialized with an Anchoring Component Target of type Image. Here is what I am trying to do:

 let anchorEntity = AnchorEntity(.image(group: "AR Resources", name: "imgAnchor"))

I have found zero documentation on how to use this. Does anyone know the right way to do it?