File tree Expand file tree Collapse file tree
packages/react-native/Libraries Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2055,6 +2055,8 @@ export type TextInputComponentStatics = $ReadOnly<{|
20552055 currentlyFocusedField : typeof TextInputState . currentlyFocusedField ,
20562056 focusTextInput : typeof TextInputState . focusTextInput ,
20572057 blurTextInput : typeof TextInputState . blurTextInput ,
2058+ onTextInputFocus : typeof TextInputState . focusInput , // [macOS]
2059+ onTextInputBlur : typeof TextInputState . blurInput , // [macOS]
20582060 | } > ,
20592061| } > ;
20602062
Original file line number Diff line number Diff line change @@ -3303,6 +3303,8 @@ export type TextInputComponentStatics = $ReadOnly<{|
33033303 currentlyFocusedField: () => ?number,
33043304 focusTextInput: (textField: ?HostInstance) => void,
33053305 blurTextInput: (textField: ?HostInstance) => void,
3306+ onTextInputFocus: (textField: ?HostInstance) => void,
3307+ onTextInputBlur: (textField: ?HostInstance) => void,
33063308 |}>,
33073309|}>;
33083310export type TextInputType = InternalTextInput & TextInputComponentStatics;
@@ -3702,6 +3704,8 @@ export type TextInputComponentStatics = $ReadOnly<{|
37023704 currentlyFocusedField: typeof TextInputState.currentlyFocusedField,
37033705 focusTextInput: typeof TextInputState.focusTextInput,
37043706 blurTextInput: typeof TextInputState.blurTextInput,
3707+ onTextInputFocus: typeof TextInputState.focusInput,
3708+ onTextInputBlur: typeof TextInputState.blurInput,
37053709 |}>,
37063710|}>;
37073711declare module.exports: TextInputType;
You can’t perform that action at this time.
0 commit comments