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:
David Vacca
2022-02-18 18:23:00 -08:00
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;