mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Introduce ReactNativeFeatureFlags file to control FeatureFlags in React Native
Summary: introduce ReactNativeFeatureFlags file to control FeatureFlags in React Native changelog: [JS][Added] Create new API to configure FeatureFlags in ReactNative Reviewed By: JoshuaGross Differential Revision: D34349458 fbshipit-source-id: 73bb3704fc47e950ee1fcefcfaec1a85dfbcef59
This commit is contained in:
committed by
Facebook GitHub Bot
parent
42272211e4
commit
33aba77456
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
* @flow strict-local
|
||||
* @format
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
export type FeatureFlags = {|
|
||||
isLayoutAnimationEnabled: () => boolean,
|
||||
|};
|
||||
|
||||
const ReactNativeFeatureFlags: FeatureFlags = {
|
||||
isLayoutAnimationEnabled: () => true,
|
||||
};
|
||||
|
||||
module.exports = ReactNativeFeatureFlags;
|
||||
Reference in New Issue
Block a user