learning react, and i didnt know where to start to write a simple counter component. ChatGpt just generated a component that worked without any modifications i used this prompt: react typescript counter component with increment button