diff --git a/types/react-native-material-textfield/index.d.ts b/types/react-native-material-textfield/index.d.ts index 1aed9e03aa..bca765d1a1 100644 --- a/types/react-native-material-textfield/index.d.ts +++ b/types/react-native-material-textfield/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-native-material-textfield 0.12 +// Type definitions for react-native-material-textfield 0.15 // Project: https://github.com/n4kz/react-native-material-textfield // Definitions by: Ville Venäläinen // Kyle Roach @@ -14,15 +14,18 @@ import { View } from 'react-native'; +export interface ContentInset { + top?: number; + label?: number; + input?: number; +} + export interface TextFieldProps extends TextInputProps { animationDuration?: number; fontSize?: number; - titleFontSize?: number; labelFontSize?: number; - labelHeight?: number; - labelPadding?: number; - inputContainerPadding?: number; + contentInset?: ContentInset; style?: StyleProp; labelTextStyle?: StyleProp;