Counter component built with React, tests included.
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of
node, npm
To get simple-counter, follow these steps:
git clone https://github.com/2kabhishek/simple-counter
cd simple-counter
npm install # Installs dependencies
npm start # Runs live on localhost:3000
npm test # Runs tests
Copy Components/Counter into your project structure and include this in your jsx
import Counter from Components/Counter/Counter
// Other jsx code
<Counter />
// Code continues
- Better styling
- Deploy
Hit the ⭐ button if you found this useful.