Installation
npm install --save @types/react-native-keyboard-spacer
Summary
This package contains type definitions for react-native-keyboard-spacer (https://github.com/Andr3wHur5t/react-native-keyboard-spacer#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-keyboard-spacer.
index.d.ts
import * as React from "react";
import * as ReactNative from "react-native";
export interface KeyboardSpacerProps {
topSpacing?: number | undefined;
onToggle?: ((keyboardIsOpen: boolean, keyboardSpace: number) => void) | undefined;
style?: ReactNative.StyleProp<ReactNative.ViewStyle> | undefined;
}
export default class KeyboardSpacer extends React.Component<KeyboardSpacerProps, any> {}
Additional Details
- Last updated: Thu, 21 Dec 2023 19:06:51 GMT
- Dependencies: @types/react, react-native
Credits
These definitions were written by Vincent Langlet.