mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Update types for react-native-material-textfield (#39235)
* Update `react-native-material-textfield` * Update version, `react-native-material-textfield` * Fix TS Lint warnings * Fix TS Lint errors
This commit is contained in:
parent
64305fc7f9
commit
dcee2f6e88
13
types/react-native-material-textfield/index.d.ts
vendored
13
types/react-native-material-textfield/index.d.ts
vendored
@ -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 <https://github.com/mindhivefi>
|
||||
// Kyle Roach <https://github.com/iRoachie>
|
||||
@ -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<TextStyle>;
|
||||
labelTextStyle?: StyleProp<TextStyle>;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user