mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
94c45af136
Summary: This diff updates the loading banner to respect the RCTAppearance dev mode setting. Changelog: [General] [iOS] Add dark mode support to loading banner Reviewed By: fkgozali Differential Revision: D21429148 fbshipit-source-id: d7d9e778245112a19accf813dcff693f0d187a38
19 lines
560 B
Objective-C
19 lines
560 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);
|
|
RCT_EXTERN void RCTOverrideAppearancePreference(NSString *const);
|
|
RCT_EXTERN NSString *RCTColorSchemePreference(UITraitCollection *traitCollection);
|
|
|
|
@interface RCTAppearance : RCTEventEmitter <RCTBridgeModule>
|
|
@end
|