Skip to content

Commit 33aba77

Browse files
mdvaccafacebook-github-bot
authored andcommitted
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
1 parent 4227221 commit 33aba77

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*
7+
* @flow strict-local
8+
* @format
9+
*/
10+
11+
'use strict';
12+
13+
export type FeatureFlags = {|
14+
isLayoutAnimationEnabled: () => boolean,
15+
|};
16+
17+
const ReactNativeFeatureFlags: FeatureFlags = {
18+
isLayoutAnimationEnabled: () => true,
19+
};
20+
21+
module.exports = ReactNativeFeatureFlags;

0 commit comments

Comments
 (0)