react-web-native-sketch
Version:
[TODO: We need an overview of how this can be used via npm vs as a local package]
8 lines (7 loc) • 620 B
TypeScript
import { TEXT_INPUT_TYPES } from '../../utils/enums';
export declare const DEFAULT_MAX_DECIMALS = 7;
export declare const parseValue: (textInputType: TEXT_INPUT_TYPES, value: string) => any;
export declare const getKeyboardType: (inputType?: TEXT_INPUT_TYPES | undefined) => string;
export declare const defaultGetError: (textInputType: TEXT_INPUT_TYPES, rawValue: string, maxDecimals?: number | undefined) => string | undefined;
export declare const defaultDbToRaw: (textInputType: TEXT_INPUT_TYPES, dbValue: any) => string;
export declare const defaultRawToDb: (textInputType: TEXT_INPUT_TYPES, value: string) => any;