Files
react-native/ReactAndroid/src/main/java/com/facebook/react/flat/RCTTextManager.java
Aaron Chiu 9615d3bdb5 move ViewManager addition out of FlatUIImplementation
Reviewed By: achen1

Differential Revision: D4467400

fbshipit-source-id: 3027c1d4a2ccc691d474c0c06e61b47475e6bff7
2017-01-27 18:43:28 -08:00

32 lines
710 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;
/**
* ViewManager that creates instances of RCTText.
*/
public final class RCTTextManager extends FlatViewManager {
@Override
public String getName() {
return "RCTText";
}
@Override
public RCTText createShadowNodeInstance() {
return new RCTText();
}
@Override
public Class<RCTText> getShadowNodeClass() {
return RCTText.class;
}
}