- Input(props): ReactNode
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
Readonly $$typeof
$$typeof: symbol
Optional defaultProps
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>> Optional displayName
displayName?: string
Optional propTypes
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>>
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.