mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
25d94ff34d
Summary: Some apps may need to disable the automatic dark mode color scheme assignment. This provides such kill switch. Changelog: [Internal] Reviewed By: yungsters Differential Revision: D18088313 fbshipit-source-id: 75abf34e92f8a4a637daa26135adf85965cb9df5
19 lines
520 B
Objective-C
19 lines
520 B
Objective-C
/*
|
|
* Copyright (c) Facebook, Inc. and its 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);
|
|
|
|
NSString *const RCTUserInterfaceStyleDidChangeNotification = @"RCTUserInterfaceStyleDidChangeNotification";
|
|
|
|
@interface RCTAppearance : RCTEventEmitter <RCTBridgeModule>
|
|
@end
|