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
34 lines
774 B
Java
34 lines
774 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 {
|
|
|
|
/* package */ static final String REACT_CLASS = "RCTText";
|
|
|
|
@Override
|
|
public String getName() {
|
|
return REACT_CLASS;
|
|
}
|
|
|
|
@Override
|
|
public RCTText createShadowNodeInstance() {
|
|
return new RCTText();
|
|
}
|
|
|
|
@Override
|
|
public Class<RCTText> getShadowNodeClass() {
|
|
return RCTText.class;
|
|
}
|
|
}
|