2015-04-29 01:29:00 -07:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
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-04-29 01:29:00 -07:00
|
|
|
*/
|
|
|
|
|
2017-12-19 19:48:22 -08:00
|
|
|
#import "RCTMultilineTextInputViewManager.h"
|
2015-04-29 01:29:00 -07:00
|
|
|
|
2017-12-19 19:48:22 -08:00
|
|
|
#import "RCTMultilineTextInputView.h"
|
2015-04-29 01:29:00 -07:00
|
|
|
|
2017-12-19 19:48:22 -08:00
|
|
|
@implementation RCTMultilineTextInputViewManager
|
2015-04-29 01:29:00 -07:00
|
|
|
|
|
|
|
RCT_EXPORT_MODULE()
|
|
|
|
|
|
|
|
- (UIView *)view
|
|
|
|
{
|
2017-12-19 19:48:22 -08:00
|
|
|
return [[RCTMultilineTextInputView alloc] initWithBridge:self.bridge];
|
2015-04-29 01:29:00 -07:00
|
|
|
}
|
|
|
|
|
2017-07-18 14:33:41 -07:00
|
|
|
#pragma mark - Multiline <TextInput> (aka TextView) specific properties
|
|
|
|
|
2016-12-19 06:26:07 -08:00
|
|
|
#if !TARGET_OS_TV
|
2017-07-18 14:33:31 -07:00
|
|
|
RCT_REMAP_VIEW_PROPERTY(dataDetectorTypes, backedTextInputView.dataDetectorTypes, UIDataDetectorTypes)
|
2016-12-19 06:26:07 -08:00
|
|
|
#endif
|
2015-04-29 01:29:00 -07:00
|
|
|
|
|
|
|
@end
|