Argument of type '({ label, field, value, hint, error, onChange, onClick, type, className, placeholder, suffix, prefix, stack, required, readOnly, disabled, selected, width, rows, errorWithIcon, ...rest }: { [key: string]: any; field: string; label?: string | React.ReactNode; value?: string | undefined; hint?: string | undefined; err...' is not assignable to parameter of type 'ForwardRefRenderFunction<HTMLDivElement, Omit<{ [key: string]: any; field: string; label?: ReactNode; value?: string | undefined; hint?: string | undefined; error?: string | undefined; ... 15 more ...; tabIndex?: number | undefined; }, "ref">>'.