@devlander/styled-components-theme
Version:
Devlander's team utilizes this package during the development of their React Native projects. Its primary purpose is to facilitate code reuse by sharing types across multiple projects that uses the styled-components library.
22 lines (21 loc) • 715 B
TypeScript
import { JSX } from 'react';
export interface BaseTextInputProps<ContainerStyleProps, OnChangeText, OnSubmitEditing, KeyboardType, AutoCapitalize> {
renderBottom?: () => JSX.Element | null;
onChangeText: OnChangeText;
secureTextEntry?: boolean;
disabled?: boolean;
errorText?: string | null | boolean | undefined;
error?: boolean;
containerStyleProps?: ContainerStyleProps;
keyboardType?: KeyboardType;
autoCapitalize?: AutoCapitalize;
label?: string;
defaultValue?: string;
value?: string;
placeholder?: string;
underlineColor?: string;
onSubmitEditing?: OnSubmitEditing;
editable?: boolean;
backgroundColor?: string;
submitting?: boolean;
}