npm.io
0.4.6 • Published 2 years ago

@types/react-native-keyboard-spacer

Licence
MIT
Version
0.4.6
Deps
2
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

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

Credits

These definitions were written by Vincent Langlet.