mirror of
https://github.com/status-im/react-native.git
synced 2025-01-11 10:06:31 +00:00
128c9343c4
Summary: A few fixes: * missing include: folly/Optional.h * switch folly::Optional's `has_value()` to `hasValue()` for now until folly is upgraded to newer version * fix up import for RCTTextAttributes.h * fix up includes for "conversions.h" to use namespaced includes Reviewed By: mmmulani Differential Revision: D8021149 fbshipit-source-id: d3955986d3ab6b1d9b61ac1e385767893ce57e5e
23 lines
526 B
Objective-C
23 lines
526 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 <React/RCTConvert.h>
|
|
|
|
#import "RCTTextTransform.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface RCTConvert (Text)
|
|
|
|
+ (UITextAutocorrectionType)UITextAutocorrectionType:(nullable id)json;
|
|
+ (UITextSpellCheckingType)UITextSpellCheckingType:(nullable id)json;
|
|
+ (RCTTextTransform)RCTTextTransform:(nullable id)json;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|