RCTMultilineTextInputViewManager.m 658 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. #import <React/RCTMultilineTextInputViewManager.h>
  8. #import <React/RCTMultilineTextInputView.h>
  9. @implementation RCTMultilineTextInputViewManager
  10. RCT_EXPORT_MODULE()
  11. - (UIView *)view
  12. {
  13. return [[RCTMultilineTextInputView alloc] initWithBridge:self.bridge];
  14. }
  15. #pragma mark - Multiline <TextInput> (aka TextView) specific properties
  16. #if !TARGET_OS_TV
  17. RCT_REMAP_VIEW_PROPERTY(dataDetectorTypes, backedTextInputView.dataDetectorTypes, UIDataDetectorTypes)
  18. #endif
  19. @end