mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-03 17:45:12 +08:00
Reviewed By: ahmedre Differential Revision: D4927963 fbshipit-source-id: f4993aa45f6313e814d03141f828d37eafade059
34 lines
842 B
Java
34 lines
842 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 RCTVirtualText.
|
|
*/
|
|
public final class RCTVirtualTextManager extends VirtualViewManager<RCTVirtualText> {
|
|
|
|
/* package */ static final String REACT_CLASS = "RCTVirtualText";
|
|
|
|
@Override
|
|
public String getName() {
|
|
return REACT_CLASS;
|
|
}
|
|
|
|
@Override
|
|
public RCTVirtualText createShadowNodeInstance() {
|
|
return new RCTVirtualText();
|
|
}
|
|
|
|
@Override
|
|
public Class<RCTVirtualText> getShadowNodeClass() {
|
|
return RCTVirtualText.class;
|
|
}
|
|
}
|