mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
3093010ea5
Summary: This diff moves fabric C++ code from ReactCommon/fabric to ReactCommon/react/renderer As part of this diff I also refactored components, codegen and callsites on CatalystApp, FB4A and venice Script: P137350694 changelog: [internal] internal refactor Reviewed By: fkgozali Differential Revision: D22852139 fbshipit-source-id: f85310ba858b6afd81abfd9cbe6d70b28eca7415
44 lines
1.6 KiB
Objective-C
44 lines
1.6 KiB
Objective-C
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import <React/RCTBackedTextInputViewProtocol.h>
|
|
#import <better/optional.h>
|
|
#import <react/renderer/components/iostextinput/primitives.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
void RCTCopyBackedTextInput(
|
|
UIView<RCTBackedTextInputViewProtocol> *fromTextInput,
|
|
UIView<RCTBackedTextInputViewProtocol> *toTextInput);
|
|
|
|
UITextAutocorrectionType RCTUITextAutocorrectionTypeFromOptionalBool(facebook::better::optional<bool> autoCorrect);
|
|
|
|
UITextAutocapitalizationType RCTUITextAutocapitalizationTypeFromAutocapitalizationType(
|
|
facebook::react::AutocapitalizationType autocapitalizationType);
|
|
|
|
UIKeyboardAppearance RCTUIKeyboardAppearanceFromKeyboardAppearance(
|
|
facebook::react::KeyboardAppearance keyboardAppearance);
|
|
|
|
UITextSpellCheckingType RCTUITextSpellCheckingTypeFromOptionalBool(facebook::better::optional<bool> spellCheck);
|
|
|
|
UITextFieldViewMode RCTUITextFieldViewModeFromTextInputAccessoryVisibilityMode(
|
|
facebook::react::TextInputAccessoryVisibilityMode mode);
|
|
|
|
UIKeyboardType RCTUIKeyboardTypeFromKeyboardType(facebook::react::KeyboardType keyboardType);
|
|
|
|
UIReturnKeyType RCTUIReturnKeyTypeFromReturnKeyType(facebook::react::ReturnKeyType returnKeyType);
|
|
|
|
API_AVAILABLE(ios(10.0))
|
|
UITextContentType RCTUITextContentTypeFromString(std::string const &contentType);
|
|
|
|
API_AVAILABLE(ios(12.0))
|
|
UITextInputPasswordRules *RCTUITextInputPasswordRulesFromString(std::string const &passwordRules);
|
|
|
|
NS_ASSUME_NONNULL_END
|