1.0.1 • Published 7 months ago

round-count v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

round-count

A lightweight countdown component for React.

Installation

You can install the package using npm:

npm install round-count

Or with yarn:

yarn add round-count

Demo

npm.io

You can view a live demo of the round-count component here.

Usage

Here is a simple example of how to use the round-count component in your React application:

import { Count } from "round-count";
export default function App() {
  return (
    <div className="App">
      <h1>Hello CodeSandbox</h1>
      <h2>Start editing to see some magic happen!</h2>
      <Count time={30} width={220} />
    </div>
  );
}


export default App;

Props

The CountdownButton component accepts the following props:

PropTypeDescription
timenumberThe initial countdown time in seconds.
widthnumberCircle Radius

License

This project is licensed under the MIT License.

1.0.1

7 months ago

1.0.0

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago