UNPKG

react-native

Version:

A framework for building native apps using React

45 lines (38 loc) 1.57 kB
/** * 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. * * @generated SignedSource<<8f82962343a5146622f36c2de071ff6a>> * @flow strict-local */ /** * IMPORTANT: Do NOT modify this file directly. * * To change the definition of the flags, edit * packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js. * * To regenerate this code, run the following script from the repo root: * yarn featureflags-update */ import type {TurboModule} from '../../../Libraries/TurboModule/RCTExport'; import * as TurboModuleRegistry from '../../../Libraries/TurboModule/TurboModuleRegistry'; export interface Spec extends TurboModule { +commonTestFlag?: () => boolean; +androidEnablePendingFabricTransactions?: () => boolean; +batchRenderingUpdatesInEventLoop?: () => boolean; +destroyFabricSurfacesInReactInstanceManager?: () => boolean; +enableBackgroundExecutor?: () => boolean; +useModernRuntimeScheduler?: () => boolean; +enableMicrotasks?: () => boolean; +enableSpannableBuildingUnification?: () => boolean; +enableCustomDrawOrderFabric?: () => boolean; +enableFixForClippedSubviewsCrash?: () => boolean; +inspectorEnableCxxInspectorPackagerConnection?: () => boolean; +inspectorEnableModernCDPRegistry?: () => boolean; } const NativeReactNativeFeatureFlags: ?Spec = TurboModuleRegistry.get<Spec>( 'NativeReactNativeFeatureFlagsCxx', ); export default NativeReactNativeFeatureFlags;