Няма описание

123456789101112131415161718
  1. #include "pch.h"
  2. #include "ReactPackageProvider.h"
  3. #if __has_include("ReactPackageProvider.g.cpp")
  4. #include "ReactPackageProvider.g.cpp"
  5. #endif
  6. #include "ReactWebViewManager.h"
  7. using namespace winrt::Microsoft::ReactNative;
  8. namespace winrt::ReactNativeWebView::implementation {
  9. void ReactPackageProvider::CreatePackage(IReactPackageBuilder const &packageBuilder) noexcept {
  10. packageBuilder.AddViewManager(L"ReactWebViewManager", []() { return winrt::make<ReactWebViewManager>(); });
  11. }
  12. } // namespace winrt::ReactNativeWebView::implementation