diff --git a/doric-js/lib/src/widget/input.d.ts b/doric-js/lib/src/widget/input.d.ts index 2a484aad..3ecbd21f 100644 --- a/doric-js/lib/src/widget/input.d.ts +++ b/doric-js/lib/src/widget/input.d.ts @@ -7,6 +7,7 @@ export declare class Input extends View { textColor?: Color; textSize?: number; hintText?: string; + inputType?: InputType; hintTextColor?: Color; multiline?: boolean; textAlignment?: Gravity; @@ -18,4 +19,11 @@ export declare class Input extends View { requestFocus(context: BridgeContext): Promise; releaseFocus(context: BridgeContext): Promise; } +export declare enum InputType { + Default = 0, + Number = 1, + NumberSigned = 2, + Alphabet = 3, + Phone = 4 +} export declare function input(config: Partial): Input;