import React, { FC } from "react"; type Props = { id: string; type?: string; value: string; dispatch: React.Dispatch>; }; export const ContactFormInput: FC = ({ id, type = "text", value, dispatch, }) => { const handleChange: React.ChangeEventHandler = (e) => { e.preventDefault(); dispatch(e.target.value); }; return (
{/* account_circle */}
); };