mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
TextInput
Summary: Changelog: [Internal] Add a flow type for TextInput Reviewed By: yungsters Differential Revision: D38883693 fbshipit-source-id: 798c1cfac55479420e683bd79d685a46c866c5d1
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2f94476c01
commit
1cdeb20d54
File diff suppressed because it is too large
Load Diff
@@ -22,6 +22,7 @@ import TextInputState from './TextInputState';
|
||||
import invariant from 'invariant';
|
||||
import nullthrows from 'nullthrows';
|
||||
import setAndForwardRef from '../../Utilities/setAndForwardRef';
|
||||
import type {TextInputType} from './TextInput.flow';
|
||||
|
||||
import usePressability from '../../Pressability/usePressability';
|
||||
|
||||
@@ -1661,11 +1662,4 @@ const styles = StyleSheet.create({
|
||||
});
|
||||
|
||||
// $FlowFixMe[unclear-type] Unclear type. Using `any` type is not safe.
|
||||
module.exports = ((ExportedForwardRef: any): React.AbstractComponent<
|
||||
React.ElementConfig<typeof InternalTextInput>,
|
||||
$ReadOnly<{|
|
||||
...React.ElementRef<HostComponent<mixed>>,
|
||||
...ImperativeMethods,
|
||||
|}>,
|
||||
> &
|
||||
TextInputComponentStatics);
|
||||
module.exports = ((ExportedForwardRef: any): TextInputType);
|
||||
|
||||
Reference in New Issue
Block a user