2015-04-29 08:29:00 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
2018-02-17 02:24:55 +00:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2015-04-29 08:29:00 +00:00
|
|
|
*/
|
|
|
|
|
2017-12-20 03:48:22 +00:00
|
|
|
#import "RCTMultilineTextInputViewManager.h"
|
2015-04-29 08:29:00 +00:00
|
|
|
|
2017-12-20 03:48:22 +00:00
|
|
|
#import "RCTMultilineTextInputView.h"
|
2015-04-29 08:29:00 +00:00
|
|
|
|
2017-12-20 03:48:22 +00:00
|
|
|
@implementation RCTMultilineTextInputViewManager
|
2015-04-29 08:29:00 +00:00
|
|
|
|
|
|
|
RCT_EXPORT_MODULE()
|
|
|
|
|
|
|
|
- (UIView *)view
|
|
|
|
{
|
2017-12-20 03:48:22 +00:00
|
|
|
return [[RCTMultilineTextInputView alloc] initWithBridge:self.bridge];
|
2015-04-29 08:29:00 +00:00
|
|
|
}
|
|
|
|
|
2017-07-18 21:33:41 +00:00
|
|
|
#pragma mark - Multiline <TextInput> (aka TextView) specific properties
|
|
|
|
|
2016-12-19 14:26:07 +00:00
|
|
|
#if !TARGET_OS_TV
|
2017-07-18 21:33:31 +00:00
|
|
|
RCT_REMAP_VIEW_PROPERTY(dataDetectorTypes, backedTextInputView.dataDetectorTypes, UIDataDetectorTypes)
|
2016-12-19 14:26:07 +00:00
|
|
|
#endif
|
2015-04-29 08:29:00 +00:00
|
|
|
|
|
|
|
@end
|