mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* feat(react-dependents): update to ts 2.8 * fix version mismatches * remove package.json * post merge updates * add package.json back again
17 lines
668 B
TypeScript
17 lines
668 B
TypeScript
// Type definitions for react-native-keyboard-spacer 0.4
|
|
// Project: https://github.com/Andr3wHur5t/react-native-keyboard-spacer#readme
|
|
// Definitions by: Vincent Langlet <https://github.com/VincentLanglet>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.8
|
|
|
|
import * as React from 'react';
|
|
import * as ReactNative from 'react-native';
|
|
|
|
export interface KeyboardSpacerProps {
|
|
topSpacing?: number;
|
|
onToggle?: (keyboardIsOpen: boolean, keyboardSpace: number) => void;
|
|
style?: ReactNative.StyleProp<ReactNative.ViewStyle>;
|
|
}
|
|
|
|
export default class KeyboardSpacer extends React.Component<KeyboardSpacerProps, any> { }
|