mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/38135 Changelog: [iOS][Changed] - Move .m to .mm to make obj-c and C++ headers compatible Reviewed By: RSNara Differential Revision: D47140743 fbshipit-source-id: 1f1fb24571f5154b17992d6a71587803407b9dd1
27 lines
532 B
Plaintext
27 lines
532 B
Plaintext
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <React/RCTVirtualTextShadowView.h>
|
|
#import <React/RCTVirtualTextView.h>
|
|
#import <React/RCTVirtualTextViewManager.h>
|
|
|
|
@implementation RCTVirtualTextViewManager
|
|
|
|
RCT_EXPORT_MODULE(RCTVirtualText)
|
|
|
|
- (UIView *)view
|
|
{
|
|
return [RCTVirtualTextView new];
|
|
}
|
|
|
|
- (RCTShadowView *)shadowView
|
|
{
|
|
return [RCTVirtualTextShadowView new];
|
|
}
|
|
|
|
@end
|