20 строки
625 B
Objective-C
20 строки
625 B
Objective-C
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import <React/RCTBridgeModule.h>
|
|
#import <React/RCTEventEmitter.h>
|
|
|
|
RCT_EXTERN void RCTEnableAppearancePreference(BOOL enabled);
|
|
RCT_EXTERN void RCTOverrideAppearancePreference(NSString *const);
|
|
RCT_EXTERN NSString *RCTCurrentOverrideAppearancePreference();
|
|
RCT_EXTERN NSString *RCTColorSchemePreference(UITraitCollection *traitCollection);
|
|
|
|
@interface RCTAppearance : RCTEventEmitter <RCTBridgeModule>
|
|
@end
|