How to type a Form component with onSubmit? May 31, 2023 by Tarik This worked for me. Just guessing based on your guess. Thanks! handlePostForm = (e: React.FormEvent) => {