mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-07 23:27:05 +08:00
[react-packager][streamline oss] Move open sourced JS source to react-native-github
This commit is contained in:
16
ReactKit/Views/RCTShadowRawText.m
Normal file
16
ReactKit/Views/RCTShadowRawText.m
Normal file
@@ -0,0 +1,16 @@
|
||||
// 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
|
||||
Reference in New Issue
Block a user