<commit_before>// Type definitions for react-native-material-textfield 0.16
// Project: https://github.com/n4kz/react-native-material-textfield
// Definitions by: <NAME> <https://github.com/mindhivefi>
//                 <NAME> <https://github.com/iRoachie>
//                 <NAME> <https://github.com/cavarzan>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

import * as React from "react";
import {
    StyleProp,
    TextInputProps,
    TextStyle,
    ViewStyle,
    View
} from "react-native";

export interface ContentInset {
    top?: number;
    label?: number;
    input?: number;
}

export interface TextFieldProps extends TextInputProps {
    animationDuration?: number;

    fontSize?: number;
    labelFontSize?: number;
    contentInset?: ContentInset;

    style?: StyleProp<TextStyle>;
    labelTextStyle?: StyleProp<TextStyle>;
    titleTextStyle?: StyleProp<TextStyle>;
    affixTextStyle?: StyleProp<TextStyle>;

    tintColor?: string;
    textColor?: string;
    baseColor?: string;

    label?: string;
    title?: string;

    characterRestriction?: number;

    error?: string;
    errorColor?: string;

    lineWidth?: number;
    activeLineWidth?: number;

    disabled?: boolean;

    disabledLineWidth?: number;

    renderAccessory?(): JSX.Element;

    clearTextOnFocus?: boolean;

    prefix?: string;
    suffix?: string;

    containerStyle?: StyleProp<ViewStyle>;
    inputContainerStyle?: StyleProp<ViewStyle>;

    onPress?(event: Event): void;
    onChangeText?(text: string): void;
}
<commit_msg>React native material textfield - Updated missing Types (#40628)<commit_after>// Type definitions for react-native-material-textfield 0.16
// Project: https://github.com/n4kz/react-native-material-textfield
// Definitions by: <NAME> <https://github.com/mindhivefi>
//                 <NAME> <https://github.com/iRoachie>
//                 <NAME> <https://github.com/cavarzan>
//                 <NAME> <https://github.com/neelb2>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

import * as React from "react";
import {
    StyleProp,
    TextInputProps,
    TextStyle,
    ViewStyle,
    View
} from "react-native";

export interface ContentInset {
    top?: number;
    label?: number;
    input?: number;
}

export interface TextFieldProps extends TextInputProps {
    animationDuration?: number;

    fontSize?: number;
    labelFontSize?: number;
    contentInset?: ContentInset;

    style?: StyleProp<TextStyle>;
    labelTextStyle?: StyleProp<TextStyle>;
    titleTextStyle?: StyleProp<TextStyle>;
    affixTextStyle?: StyleProp<TextStyle>;

    tintColor?: string;
    textColor?: string;
    baseColor?: string;

    label?: string;
    title?: string;

    characterRestriction?: number;

    error?: string;
    errorColor?: string;

    lineWidth?: number;
    activeLineWidth?: number;

    disabled?: boolean;

    disabledLineWidth?: number;

    clearTextOnFocus?: boolean;

    prefix?: string;
    suffix?: string;

    containerStyle?: StyleProp<ViewStyle>;
    inputContainerStyle?: StyleProp<ViewStyle>;

    onPress?(event: Event): void;
    onChangeText?(text: string): void;

    renderLeftAccessory?(): JSX.Element;
    renderRightAccessory?(): JSX.Element;

    lineType?: 'solid' | 'dotted' | 'dashed' | 'none';
    disabledLineType?: 'solid' | 'dotted' | 'dashed' | 'none';

    editable?: boolean;
    multiline?: boolean;
}

{'fraction_non_alphanumeric': 0.13059701492537312, 'fraction_numerical': 0.005166475315729047, 'mean_word_length': 3.378140703517588, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 11, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6639974', 'n_tokens_mistral': 1065, 'n_tokens_neox': 1025, 'n_words': 237}