react-native/Libraries/Text/RCTRawTextManager.m
Pieter De Baets 49ef06f9bd Stop allocating an RCTView for everying RCTRawText
Reviewed By: shergin

Differential Revision: D4538026

fbshipit-source-id: 17278d60b99632bfb19c4a20979860716be45d2b
2017-02-10 09:03:16 -08:00

31 lines
580 B
Objective-C

/**
* 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.
*/
#import "RCTRawTextManager.h"
#import "RCTShadowRawText.h"
@implementation RCTRawTextManager
RCT_EXPORT_MODULE()
- (UIView *)view
{
return nil;
}
- (RCTShadowView *)shadowView
{
return [RCTShadowRawText new];
}
RCT_EXPORT_SHADOW_PROPERTY(text, NSString)
@end