File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
vnext/Microsoft.ReactNative/Modules Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
#include < NativeModules.h>
6
6
7
+ #include " codegen/NativeStatusBarManagerAndroidSpec.g.h"
8
+
7
9
namespace Microsoft ::ReactNative {
8
10
9
11
REACT_MODULE (StatusBarManager)
10
- struct StatusBarManager {};
12
+ struct StatusBarManager {
13
+ using ModuleSpec = Microsoft::ReactNativeSpecs::StatusBarManagerAndroidSpec;
14
+
15
+ REACT_GET_CONSTANTS (GetConstants)
16
+ static Microsoft::ReactNativeSpecs::StatusBarManagerAndroidSpec_Constants GetConstants () noexcept {
17
+ return {0 };
18
+ }
19
+
20
+ REACT_METHOD (setColor)
21
+ static void setColor (double /* color*/ , bool /* animated*/ ) noexcept {}
22
+
23
+ REACT_METHOD (setTranslucent)
24
+ static void setTranslucent (bool /* translucent*/ ) noexcept {}
25
+
26
+ REACT_METHOD (setStyle)
27
+ static void setStyle (std::optional<std::string> /* statusBarStyle*/ ) noexcept {}
28
+
29
+ REACT_METHOD (setHidden)
30
+ static void setHidden (bool /* hidden*/ ) noexcept {}
31
+ };
11
32
12
33
} // namespace Microsoft::ReactNative
You can’t perform that action at this time.
0 commit comments