2015-03-23 13:28:42 -07:00
|
|
|
/**
|
2018-09-11 15:27:47 -07:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2015-03-23 13:28:42 -07:00
|
|
|
*
|
2018-02-16 18:24:55 -08:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2015-03-23 13:28:42 -07:00
|
|
|
*/
|
2015-02-19 20:10:52 -08:00
|
|
|
|
2017-12-19 19:48:22 -08:00
|
|
|
#import "RCTRawTextViewManager.h"
|
2015-02-19 20:10:52 -08:00
|
|
|
|
2017-12-19 19:48:22 -08:00
|
|
|
#import "RCTRawTextShadowView.h"
|
2015-02-19 20:10:52 -08:00
|
|
|
|
2017-12-19 19:48:22 -08:00
|
|
|
@implementation RCTRawTextViewManager
|
2015-02-19 20:10:52 -08:00
|
|
|
|
2017-12-19 19:48:22 -08:00
|
|
|
RCT_EXPORT_MODULE(RCTRawText)
|
2015-04-08 05:42:43 -07:00
|
|
|
|
2018-01-23 23:17:57 -08:00
|
|
|
- (UIView *)view
|
|
|
|
{
|
|
|
|
return [UIView new];
|
|
|
|
}
|
|
|
|
|
2015-02-19 20:10:52 -08:00
|
|
|
- (RCTShadowView *)shadowView
|
|
|
|
{
|
2017-12-19 19:48:22 -08:00
|
|
|
return [RCTRawTextShadowView new];
|
2015-02-19 20:10:52 -08:00
|
|
|
}
|
|
|
|
|
2015-03-25 21:29:28 -07:00
|
|
|
RCT_EXPORT_SHADOW_PROPERTY(text, NSString)
|
|
|
|
|
2015-02-19 20:10:52 -08:00
|
|
|
@end
|