Is there a way to use swiftui in a share extension?

I cannot make the container view work in a Share extension.

Is there a way to set it to use swiftui?


Thanks