Apologies for the delay here. I previously had filed FB22669602 for this. It's a little more general, because I wasn't sure at the time if this was a case of this being supported with the current API surface and all that would be needed was a documentation or sample code update to showcase how to do it, or if new public API would need to be created to support this.
Topic:
SwiftUI
SubTopic:
SwiftUI Q&A