New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

simple-react-counter

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-react-counter

A number counter component in react for counting a number up/down

latest
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

simple-react-counter

This react component allows you to add a number count down/up in your react project with ease. The plugin is highly customizable making it easy to adapt it your project needs.

Installation

To install this Component, run npm install simple-react-counter.

Usage

To use the component, In your react Application just do

import React, { Component } from 'react';
//importing the component
import Counter from 'simple-react-counter';
class App extends Component {
  render() {
    return (
      <div className="App">
      //CountTo --> Decides what number will the counter stop counting
      //time--> the time constraint for finishing the count
        <Counter CountTo={10101} time={1000} />
      </div>
    );
  }
}
export default App;

Find the project npm registery at : https://www.npmjs.com/package/simple-react-counter

FAQs

Package last updated on 30 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts