mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
d65b5895ce
Summary: Changelog: [Internal][Added] - Use injected Modal if set Due to Modal uses AppContainer in a dev env, in the StrictMode we'll get warnings about legacy context API usage from inside the AppContainer. It's a gnarly change to get rid of that legacy context so I'll be following up with additional code change prep steps towards the eventual removal of the legacy context. Reviewed By: lunaleaps Differential Revision: D27611218 fbshipit-source-id: f79475845e763527fff9ecfdbf3e581c4666e015
16 lines
317 B
JavaScript
16 lines
317 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its 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
|
|
*/
|
|
|
|
import typeof Modal from './Modal';
|
|
|
|
export default {
|
|
unstable_Modal: (null: ?Modal),
|
|
};
|