@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.
10 lines (9 loc) • 669 B
TypeScript
import { AutoCapitalizeType } from './auto-capatlize.enum';
import { KeyboardTypeValue } from './keyboard-type.enum';
import type { BaseTextInputProps } from './base-input-props.types';
import type { IconNames } from './icons/icon-names.enum';
export interface SecureInputProps<ContainerStyleProps = {}, OnChangeText = (text: string) => void, OnSubmitEditing = (e: any) => void, KeyboardType = KeyboardTypeValue, AutoCapitalize = AutoCapitalizeType> extends BaseTextInputProps<ContainerStyleProps, OnChangeText, OnSubmitEditing, KeyboardType, AutoCapitalize> {
secureTextOnIcon?: IconNames;
secureTextOffIcon?: IconNames;
securePressOnChange: () => void;
}