react-native-macos/Libraries/Components
Eli White bbc5c35a61 Convert to using forwardRef
Summary:
TextInput now acts as a host component and can be passed directly to our new APIs that require a host component. Callsites no longer need to call

```
inputRef.getNativeRef()
```

We mutate the ref to the host component adding the imperative methods of the TextInput so you can still call `inputRef.clear` and `inputRef.isFocused`.

Changelog:
[General][Changed] TextInput now uses `forwardRef` allowing it to be used directly by new APIs requiring a host component.

Reviewed By: yungsters

Differential Revision: D18458408

fbshipit-source-id: 1f149fd575210d702fa0fdf3d05bb2162436a773
2019-11-15 14:02:42 -08:00
..
AccessibilityInfo TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
ActivityIndicator Migrate NativeComponentType from codegenNativeComponent to HostComponent #1 2019-09-25 11:44:38 -07:00
AppleTV TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
CheckBox Add setNativeValue command to ReactCheckBoxManager 2019-11-13 10:15:50 -08:00
Clipboard TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
DatePicker Use commands instead of setNativeProps in DatePicker 2019-11-05 10:41:41 -08:00
DatePickerAndroid TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
DrawerAndroid Migrate NativeComponentType from codegenNativeComponent to HostComponent #2 2019-09-25 11:44:38 -07:00
Keyboard TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
MaskedView Migrate NativeComponentType from codegenNativeComponent to HostComponent #1 2019-09-25 11:44:38 -07:00
Picker Add setNativeSelectedPosition command to ReactPickerManager 2019-11-11 12:32:51 -08:00
ProgressBarAndroid Migrate NativeComponentType from codegenNativeComponent to HostComponent #1 2019-09-25 11:44:38 -07:00
ProgressViewIOS Remove unused flow suppressions 2019-09-26 08:16:24 -07:00
RefreshControl Add setNativeRefreshing command to SwipeRefreshLayoutManager 2019-11-13 10:21:04 -08:00
SafeAreaView Make SafeAreView flow strict-local 2019-10-18 14:50:59 -07:00
ScrollView @allow-large-files deploy Flow v0.112 to xplat 2019-11-13 11:18:41 -08:00
SegmentedControlIOS Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
Slider Slider: Inline default props 2019-11-04 12:16:38 -08:00
Sound TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
StatusBar TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
Switch Use Switch command from JavaScript 2019-11-04 07:44:10 -08:00
TextInput Convert to using forwardRef 2019-11-15 14:02:42 -08:00
ToastAndroid TM JS: Revert to import from TurboModuleRegistry.js 2019-11-08 11:44:16 -08:00
Touchable Prepare `currentTarget` to accept number or host component 2019-11-08 17:33:35 -08:00
UnimplementedViews Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
View Prepare `currentTarget` to accept number or host component 2019-11-08 17:33:35 -08:00
Button.js Fixes button partially showing when parent view height is 0 (#26435) 2019-09-29 19:35:17 -07:00
ScrollResponder.js Prepare event.target to be a HostComponent 2019-11-08 17:33:35 -08:00
StaticContainer.react.js xplat/js/react-native-github 2019-08-09 10:11:15 -07:00
StaticRenderer.js Migrate "Libraries" from Haste to standard path-based requires (sans vendor & renderers) (#24749) 2019-05-08 08:48:59 -07:00