import cn from 'classnames'; import React from 'react'; import { Input as AntInput } from 'antd'; import { Icon } from 'UI'; interface Props { wrapperClassName?: string; className?: string; icon?: string; leadingButton?: React.ReactNode; type?: string; rows?: number; height?: number; width?: number; [x: string]: any; } const Input = React.forwardRef((props: Props, ref: any) => { const { height = 36, width = 0, className = '', leadingButton = '', wrapperClassName = '', icon = '', type = 'text', rows = 4, ...rest } = props; return (