Skip to content

2KAbhishek/simple-counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Counter component built with React, tests included.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed the latest version of node, npm

Getting simple-counter

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

Using simple-counter

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

To-Do

  • Better styling
  • Deploy

Hit the ⭐ button if you found this useful.

More Info