// // TrueSheetModule.h // TrueSheet // // Created by Jovanni Lo (@lodev09) // Copyright (c) 2024-present. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. // #pragma once #ifdef RCT_NEW_ARCH_ENABLED #import NS_ASSUME_NONNULL_BEGIN @class TrueSheetView; /** * TurboModule for TrueSheet imperative API * Provides promise-based async operations using view references */ @interface TrueSheetModule : NSObject /** * Register a sheet component view with its React tag * Called automatically by TrueSheetView during initialization */ + (void)registerView:(TrueSheetView *)view withTag:(NSNumber *)tag; /** * Unregister a sheet component view * Called automatically by TrueSheetView during dealloc */ + (void)unregisterViewWithTag:(NSNumber *)tag; @end NS_ASSUME_NONNULL_END #endif // RCT_NEW_ARCH_ENABLED