28 lines
642 B
Objective-C
28 lines
642 B
Objective-C
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import "RCTMultilineTextInputViewManager.h"
|
|
|
|
#import "RCTMultilineTextInputView.h"
|
|
|
|
@implementation RCTMultilineTextInputViewManager
|
|
|
|
RCT_EXPORT_MODULE()
|
|
|
|
- (UIView *)view
|
|
{
|
|
return [[RCTMultilineTextInputView alloc] initWithBridge:self.bridge];
|
|
}
|
|
|
|
#pragma mark - Multiline <TextInput> (aka TextView) specific properties
|
|
|
|
#if !TARGET_OS_TV
|
|
RCT_REMAP_VIEW_PROPERTY(dataDetectorTypes, backedTextInputView.dataDetectorTypes, UIDataDetectorTypes)
|
|
#endif
|
|
|
|
@end
|