type InputProps = React.InputHTMLAttributes<HTMLInputElement>;
// spread forwards every standard input attribute
function TextField(props: InputProps) {
return <input type="text" {...props} />;
}
export default TextField;forward a props object with the spread operator