import React, { ComponentProps } from 'react'; import { Input as AntInput } from 'antd'; type InputProps = Omit, 'onChange'> & { /** optional icon for reveal/hide password */ passwordIconRender?: ((visible: boolean) => React.ReactNode) | null; /** Handle change. First argument is the incoming `value`. */ onChange?: ((value: string) => void) | null; /** Define type of input. For other valid html input types, we have created separate components (eg. TextArea). */ type?: string; }; declare const Input: (props: InputProps) => React.ReactNode; export default Input;