react-native-windows library
Summary: This change adds the template for a RNW module to the existing react-native flipper project. Basically, the changes in this diff are the product of executing the react-native-windows init for the existing library. See: https://microsoft.github.io/react-native-windows/docs/getting-started https://microsoft.github.io/react-native-windows/docs/native-modules-setup Notes: There's some auto-generated module code contained in this change: ReactNativeModule (.h/.cpp) allow-large-files Reviewed By: passy Differential Revision: D36751772 fbshipit-source-id: 41207bedb00ea147883f6d13336ed6c1da4454d7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
23f769c8c4
commit
551d0389ae
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define NOMINMAX
|
||||
|
||||
#include <CppWinRTIncludes.h>
|
||||
#include <hstring.h>
|
||||
#include <restrictederrorinfo.h>
|
||||
#include <unknwn.h>
|
||||
#include <windows.h>
|
||||
#if __has_include(<VersionMacros.h>)
|
||||
#include <VersionMacros.h>
|
||||
#endif
|
||||
|
||||
#include <winrt/Microsoft.ReactNative.h>
|
||||
|
||||
#include <winrt/Microsoft.UI.Xaml.Automation.Peers.h>
|
||||
#include <winrt/Microsoft.UI.Xaml.Controls.Primitives.h>
|
||||
#include <winrt/Microsoft.UI.Xaml.Controls.h>
|
||||
#include <winrt/Microsoft.UI.Xaml.Media.h>
|
||||
#include <winrt/Microsoft.UI.Xaml.XamlTypeInfo.h>
|
||||
using namespace winrt::Windows::Foundation;
|
||||
Reference in New Issue
Block a user