File tree Expand file tree Collapse file tree
vnext/Microsoft.ReactNative Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,6 +89,11 @@ winrt::Microsoft::ReactNative::ReactPropertyId<bool> EnableSyncDetachRootViewPro
8989 return propId;
9090}
9191
92+ winrt::Microsoft::ReactNative::ReactPropertyId<bool > EnableFabricProperty () noexcept {
93+ static winrt::Microsoft::ReactNative::ReactPropertyId<bool > propId{L" ReactNative.QuirkSettings" , L" EnableFabric" };
94+ return propId;
95+ }
96+
9297#pragma region IDL interface
9398
9499/* static*/ void QuirkSettings::SetMatchAndroidAndIOSStretchBehavior (
@@ -175,4 +180,8 @@ winrt::Microsoft::ReactNative::ReactPropertyId<bool> EnableSyncDetachRootViewPro
175180 return properties.Get (EnableSyncDetachRootViewProperty ()).value_or (false );
176181}
177182
183+ /* static*/ bool QuirkSettings::GetEnableFabric (ReactPropertyBag properties) noexcept {
184+ return properties.Get (EnableFabricProperty ()).value_or (false );
185+ }
186+
178187} // namespace winrt::Microsoft::ReactNative::implementation
You can’t perform that action at this time.
0 commit comments