mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
c8bb422882
Reviewed By: ahmedre Differential Revision: D4927963 fbshipit-source-id: f4993aa45f6313e814d03141f828d37eafade059
29 lines
854 B
Java
29 lines
854 B
Java
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
package com.facebook.react.flat;
|
|
|
|
import com.facebook.react.uimanager.LayoutShadowNode;
|
|
import com.facebook.react.views.modal.ReactModalHostManager;
|
|
|
|
public class RCTModalHostManager extends ReactModalHostManager {
|
|
|
|
/* package */ static final String REACT_CLASS = ReactModalHostManager.REACT_CLASS;
|
|
|
|
@Override
|
|
public LayoutShadowNode createShadowNodeInstance() {
|
|
return new FlatReactModalShadowNode();
|
|
}
|
|
|
|
@Override
|
|
public Class<? extends LayoutShadowNode> getShadowNodeClass() {
|
|
return FlatReactModalShadowNode.class;
|
|
}
|
|
}
|