forked from microsoft/react-native-macos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix spellCheck and autoCorrect props (microsoft#1292)
Summary: This fixes `autoCorrect` to correctly map to `automaticSpellingCorrectionEnabled`, and `spellCheck` to map to `continuousSpellCheckingEnabled`. Note: automaticTextReplacementEnabled is a different feature than automaticSpellingCorrectionEnabled https://developer.apple.com/documentation/appkit/nstextview/1449210-automatictextreplacementenabled https://developer.apple.com/documentation/appkit/nstextview/1449254-isautomaticspellingcorrectionena Co-authored-by: Scott Kyle <skyle@fb.com> # Conflicts: # Libraries/Text/TextInput/Singleline/RCTUITextField.h # Libraries/Text/TextInput/Singleline/RCTUITextField.m
- Loading branch information
1 parent
a4882c2
commit c30fc6b
Showing
21 changed files
with
345 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* 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 <React/RCTConvert.h> | ||
|
||
typedef NS_ENUM(NSInteger, RCTCursor) { | ||
RCTCursorAuto, | ||
RCTCursorArrow, | ||
RCTCursorIBeam, | ||
RCTCursorCrosshair, | ||
RCTCursorClosedHand, | ||
RCTCursorOpenHand, | ||
RCTCursorPointingHand, | ||
RCTCursorResizeLeft, | ||
RCTCursorResizeRight, | ||
RCTCursorResizeLeftRight, | ||
RCTCursorResizeUp, | ||
RCTCursorResizeDown, | ||
RCTCursorResizeUpDown, | ||
RCTCursorDisappearingItem, | ||
RCTCursorIBeamCursorForVerticalLayout, | ||
RCTCursorOperationNotAllowed, | ||
RCTCursorDragLink, | ||
RCTCursorDragCopy, | ||
RCTCursorContextualMenu, | ||
}; | ||
|
||
@interface RCTConvert (RCTCursor) | ||
|
||
+ (RCTCursor)RCTCursor:(id)json; | ||
+ (NSCursor *)NSCursor:(RCTCursor)rctCursor; | ||
|
||
@end |
Oops, something went wrong.