UNPKG

react-web-native-sketch

Version:

[TODO: We need an overview of how this can be used via npm vs as a local package]

33 lines (32 loc) 857 B
import { TEXT_INPUT_TYPES } from "../../utils/enums"; export interface TextInputProps { error?: string; id?: string; inputType: TEXT_INPUT_TYPES; labelPositionLeft?: boolean; onBlur?: (ev?: any) => void; onChange?: any; onFocus?: (ev?: any) => void; placeholder?: string; title?: string; value?: string; multiline?: boolean; input?: any; rawToDb?: (value: string) => any; dbToRaw?: (value: any) => string; extraErrorChecker?: (value: string) => string | undefined; disableUnderline?: boolean; inputStyle?: InputStyle; maxDecimals?: number; } export interface InputStyle { input?: any; inputError?: any; inputFocused?: any; label?: any; labelError?: any; labelFocused?: any; error?: any; errorFocused?: any; } export declare type TextInputDBValue = any;