Skip to content

Commit d0c8394

Browse files
committed
Regenerate ReactNativeApi.d.ts API snapshot
1 parent 66b4b3e commit d0c8394

1 file changed

Lines changed: 11 additions & 23 deletions

File tree

‎packages/react-native/ReactNativeApi.d.ts‎

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @generated SignedSource<<3ce9599aceb36dd1f09ded3db3332daa>>
7+
* @generated SignedSource<<eb4e7aee98184e7869efe8e1e9805a32>>
88
*
99
* This file was generated by scripts/js-api/build-types/index.js.
1010
*/
@@ -250,6 +250,12 @@ declare const InputAccessoryView: typeof InputAccessoryView_default
250250
declare const InputAccessoryView_default: React.ComponentType<InputAccessoryViewProps>
251251
declare const Keyboard: typeof Keyboard_default
252252
declare const Keyboard_default: KeyboardImpl
253+
declare const KeyboardAvoidingView: typeof KeyboardAvoidingView_default
254+
declare const KeyboardAvoidingView_default: (
255+
props: KeyboardAvoidingViewProps & {
256+
ref?: React.Ref<React.ComponentRef<typeof View>>
257+
},
258+
) => React.ReactNode
253259
declare const LayoutAnimation: typeof LayoutAnimation_default
254260
declare const LayoutAnimation_default: {
255261
configureNext: typeof configureNext
@@ -2711,23 +2717,8 @@ declare interface IPerformanceLogger {
27112717
declare function isEnabled(): boolean
27122718
declare type Item = any
27132719
declare type Keyboard = typeof Keyboard
2714-
declare class KeyboardAvoidingView extends React.Component<
2715-
KeyboardAvoidingViewProps,
2716-
KeyboardAvoidingViewState
2717-
> {
2718-
viewRef: {
2719-
current: null | React.ComponentRef<typeof View>
2720-
}
2721-
componentDidMount(): void
2722-
componentDidUpdate(
2723-
_: KeyboardAvoidingViewProps,
2724-
prevState: KeyboardAvoidingViewState,
2725-
): void
2726-
componentWillUnmount(): void
2727-
constructor(props: KeyboardAvoidingViewProps)
2728-
render(): React.ReactNode
2729-
}
2730-
declare type KeyboardAvoidingViewInstance = KeyboardAvoidingView
2720+
declare type KeyboardAvoidingView = typeof KeyboardAvoidingView
2721+
declare type KeyboardAvoidingViewInstance = React.ComponentRef<typeof View>
27312722
declare interface KeyboardAvoidingViewProps extends Readonly<
27322723
ViewProps & KeyboardAvoidingViewPropsCore
27332724
> {}
@@ -2737,9 +2728,6 @@ declare type KeyboardAvoidingViewPropsCore = {
27372728
readonly enabled?: boolean
27382729
readonly keyboardVerticalOffset?: number
27392730
}
2740-
declare type KeyboardAvoidingViewState = {
2741-
bottom: number
2742-
}
27432731
declare type KeyboardEvent = AndroidKeyboardEvent | IOSKeyboardEvent
27442732
declare type KeyboardEventDefinitions = {
27452733
keyboardDidChangeFrame: [KeyboardEvent]
@@ -5864,8 +5852,8 @@ export {
58645852
KeyEvent, // 20fa4267
58655853
KeyUpEvent, // 0b5d0144
58665854
Keyboard, // 49414c97
5867-
KeyboardAvoidingView, // 9dab9980
5868-
KeyboardAvoidingViewInstance, // 2772afb3
5855+
KeyboardAvoidingView, // f6b854ac
5856+
KeyboardAvoidingViewInstance, // 1264e13d
58695857
KeyboardAvoidingViewProps, // 84e4ee76
58705858
KeyboardEvent, // c3f895d4
58715859
KeyboardEventEasing, // af4091c8

0 commit comments

Comments
 (0)