@types/react-native-keyboard-spacer
TypeScript icon, indicating that this package has built-in type declarations

0.4.6 • Public • Published

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.

/@types/react-native-keyboard-spacer/

    Package Sidebar

    Install

    npm i @types/react-native-keyboard-spacer

    Weekly Downloads

    2,952

    Version

    0.4.6

    License

    MIT

    Unpacked Size

    3.71 kB

    Total Files

    5

    Last publish

    Collaborators

    • types