         self.hostingController = hostingController
         
         let popupController = STPopupController(rootViewController: hostingController)
+        popupController.style = style
         popupController.navigationBarHidden = true
         popupController.containerView.backgroundColor = .clear
         popupController.present(in: self)

@available (iOS 13.0, *)
fileprivate struct PopupView<ContentView>: UIViewControllerRepresentable where ContentView: View {
  let isPresented: Bool
  let onDismiss: (() -> Void)?
  let contentView: ContentView
  

  class PopupViewController: UIViewController {
    var contentView: ContentView?
    var isPresented: Bool = false
    var style: PopupStyle = .formSheet
    var onDismiss: (() -> Void)?
    
    private var hostingController: UIHostingController<ContentView>?
