/// import type { CommonFormPropsType } from '../types'; import './style'; export default function Input({ id, className, style, events, label, labelVisible, name, defaultValue, password, placeholder, type, maxLength, disabled, focus: autoFocus, layout, requiredFlag, size, clearable, decorator, onChange: outerOnChange, }: PropsType): JSX.Element; export interface PropsType extends CommonFormPropsType { defaultValue?: string; password?: boolean; placeholder?: string; type?: 'text' | 'number' | 'idcard' | 'digit'; maxLength?: number; focus?: boolean; size?: 's' | 'm' | 'l' | 'full'; clearable?: boolean; onChange: (val: string) => void; }