import React from 'react'; export interface InputProps { valid?: boolean; placeholder?: string; validationMessage?: string; icon?: JSX.Element; type: string; name: string; value?: string; } export const Input = ({ valid, placeholder, validationMessage, icon, type, name, value, }: InputProps): JSX.Element => { return (