import React from 'react' import classNames from 'classnames'; interface Props { onChange: (str: string) => void; type: string, name: string, label: string, value: string, } export const Input: React.FC = ({type, name, label, onChange, value }) => { return(
onChange(event.target.value)} type={type} name={name} value={value}/>
) }