first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
#pragma once
#include "NativeModules.h"
#include "RNScreensModule.g.h"
#include "pch.h"
#include "winrt/Microsoft.ReactNative.h"
namespace winrt::RNScreens::implementation {
class RNScreensModule : public RNScreensModuleT<RNScreensModule> {
public:
RNScreensModule(Microsoft::ReactNative::IReactContext const &reactContext);
static winrt::Windows::Foundation::Collections::IMapView<
winrt::hstring,
winrt::Microsoft::ReactNative::ViewManagerPropertyType>
NativeProps() noexcept;
void UpdateProperties(winrt::Microsoft::ReactNative::IJSValueReader const
&propertyMapReader) noexcept;
static winrt::Microsoft::ReactNative::ConstantProviderDelegate
ExportedCustomBubblingEventTypeConstants() noexcept;
static winrt::Microsoft::ReactNative::ConstantProviderDelegate
ExportedCustomDirectEventTypeConstants() noexcept;
static winrt::Windows::Foundation::Collections::IVectorView<winrt::hstring>
Commands() noexcept;
void DispatchCommand(
winrt::hstring const &commandId,
winrt::Microsoft::ReactNative::IJSValueReader const
&commandArgsReader) noexcept;
private:
Microsoft::ReactNative::IReactContext m_reactContext{nullptr};
};
} // namespace winrt::RNScreens::implementation
namespace winrt::RNScreens::factory_implementation {
struct RNScreensModule
: RNScreensModuleT<RNScreensModule, implementation::RNScreensModule> {};
} // namespace winrt::RNScreens::factory_implementation