• Parameters

    • props: Pick<NativeInputProps, "type" | "pattern" | "name" | "id" | "inputMode" | "autoFocus" | "autoCapitalize" | "autoCorrect" | "onCompositionEnd" | "onCompositionStart" | "onFocus" | "onBlur" | "onKeyDown" | "onKeyUp" | "onClick" | "readOnly" | "autoComplete" | "disabled" | "step" | "placeholder" | "maxLength" | "minLength"> & {
          clearable?: boolean;
          defaultValue?: string;
          enterKeyHint?: "search" | "next" | "enter" | "done" | "go" | "previous" | "send";
          max?: number;
          min?: number;
          onChange?: ((val) => void);
          onClear?: (() => void);
          onEnterPress?: ((e) => void);
          onlyShowClearWhenFocus?: boolean;
          value?: string;
      } & {
          className?: string;
          style?: CSSProperties & Partial<Record<"--color" | "--font-size" | "--placeholder-color" | "--text-align", string>>;
          tabIndex?: number;
      } & AriaAttributes & AriaProps & RefAttributes<Antdm.InputRef>

    Returns ReactNode

Properties

$$typeof: symbol
defaultProps?: Partial<Pick<NativeInputProps, "type" | "pattern" | "name" | "id" | "inputMode" | "autoFocus" | "autoCapitalize" | "autoCorrect" | "onCompositionEnd" | "onCompositionStart" | "onFocus" | "onBlur" | "onKeyDown" | "onKeyUp" | "onClick" | "readOnly" | "autoComplete" | "disabled" | "step" | "placeholder" | "maxLength" | "minLength"> & {
    clearable?: boolean;
    defaultValue?: string;
    enterKeyHint?: "search" | "next" | "enter" | "done" | "go" | "previous" | "send";
    max?: number;
    min?: number;
    onChange?: ((val) => void);
    onClear?: (() => void);
    onEnterPress?: ((e) => void);
    onlyShowClearWhenFocus?: boolean;
    value?: string;
} & {
    className?: string;
    style?: CSSProperties & Partial<Record<"--color" | "--font-size" | "--placeholder-color" | "--text-align", string>>;
    tabIndex?: number;
} & AriaAttributes & AriaProps & RefAttributes<Antdm.InputRef>>
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

propTypes?: WeakValidationMap<Pick<NativeInputProps, "type" | "pattern" | "name" | "id" | "inputMode" | "autoFocus" | "autoCapitalize" | "autoCorrect" | "onCompositionEnd" | "onCompositionStart" | "onFocus" | "onBlur" | "onKeyDown" | "onKeyUp" | "onClick" | "readOnly" | "autoComplete" | "disabled" | "step" | "placeholder" | "maxLength" | "minLength"> & {
    clearable?: boolean;
    defaultValue?: string;
    enterKeyHint?: "search" | "next" | "enter" | "done" | "go" | "previous" | "send";
    max?: number;
    min?: number;
    onChange?: ((val) => void);
    onClear?: (() => void);
    onEnterPress?: ((e) => void);
    onlyShowClearWhenFocus?: boolean;
    value?: string;
} & {
    className?: string;
    style?: CSSProperties & Partial<Record<"--color" | "--font-size" | "--placeholder-color" | "--text-align", string>>;
    tabIndex?: number;
} & AriaAttributes & AriaProps & RefAttributes<Antdm.InputRef>>

Generated using TypeDoc