21 lines
407 B
Swift
21 lines
407 B
Swift
//
|
|
// BaseButtonManager.swift
|
|
// RNPlayground
|
|
//
|
|
// Created by Artur Gurgul on 02/08/2025.
|
|
//
|
|
|
|
import Foundation
|
|
import React
|
|
import SwiftUI
|
|
|
|
@objc(BaseButtonManager)
|
|
class BaseButtonManager: RCTViewManager {
|
|
override func view() -> UIView! {
|
|
return UIHostingController(rootView: BaseButton()).view
|
|
}
|
|
|
|
override static func requiresMainQueueSetup() -> Bool {
|
|
return true
|
|
}
|
|
}
|