mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-08-16 02:44:58 +00:00
# Summary Due to the large number of example apps in the repository, I decided to change the structure and move all applications into an "apps" folder to maintain a clear structure.
21 lines
396 B
C++
21 lines
396 B
C++
#include "pch.h"
|
|
#include "MainPage.h"
|
|
#if __has_include("MainPage.g.cpp")
|
|
#include "MainPage.g.cpp"
|
|
#endif
|
|
|
|
#include "App.h"
|
|
|
|
using namespace winrt;
|
|
using namespace xaml;
|
|
|
|
namespace winrt::Example::implementation
|
|
{
|
|
MainPage::MainPage()
|
|
{
|
|
InitializeComponent();
|
|
auto app = Application::Current().as<App>();
|
|
ReactRootView().ReactNativeHost(app->Host());
|
|
}
|
|
}
|