mirror of
https://github.com/react/react-native.git
synced 2026-10-12 18:01:51 +08:00
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
22 lines
455 B
JavaScript
22 lines
455 B
JavaScript
/**
|
|
* 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;
|