react-native/Libraries/Text/RCTShadowRawText.m

17 lines
263 B
Objective-C

// Copyright 2004-present Facebook. All Rights Reserved.
#import "RCTShadowRawText.h"
@implementation RCTShadowRawText
- (void)setText:(NSString *)text
{
if (_text != text) {
_text = [text copy];
[self dirtyLayout];
[self dirtyText];
}
}
@end