Setting up react project with classes

I just followed the tik-tac-toe game tutorial from the React docs (https://reactjs.org/tutorial/tutorial.html) and noticed that we were using classes, but when I use the npx create-react-app my-app it makes a projects with functions. Is there a way to make a new react project based off of classes or do I have to change those manually?
A JavaScript library for building user interfaces
Tutorial: Intro to React – React
Was this page helpful?