This example from https://github.com/CMSgov/design-system
This shows the usage of CMS design system components in a TypeScript create-react-app project.
In this project, the design system package is installed as an npm dependency. Refer to install using npm for instructions on how to install the design system as a dependency package.
- Install packages:
yarn install
- Run the application:
yarn start
This project was bootstrapped with Create React App using the typescript
template. The command to create one yourself is:
> npx create-react-app <project-name> --template typescript