It looks like there's also a missing dev dependency: @types/react-router-dom. You have it in your repo's package.json, but it's not listed above as a dependency to install. It is needed for LinkProps.
One more thing I found. Your initial command to create the project, npx create-react-app react-styleguide --typescript isn't entirely correct and just creates a standard JS project. From create-react-app.dev/docs/adding-t... :
I love learning new things, solving problems, and coaching. I spend most of my time programming in JavaScript, learning new programming languages, teaching others about programming, and making music.
This would be much easier to follow along with if you specified which file each snippet should go.
It looks like there's also a missing dev dependency:
@types/react-router-dom
. You have it in your repo'spackage.json
, but it's not listed above as a dependency to install. It is needed forLinkProps
.One more thing I found. Your initial command to create the project,
npx create-react-app react-styleguide --typescript
isn't entirely correct and just creates a standard JS project. From create-react-app.dev/docs/adding-t... :Thank you for your suggestions man. I will update the article when I get the chance this weekend.