Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-customizable-progressbar

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-customizable-progressbar - npm Package Compare versions

Comparing version 0.1.14 to 0.1.15

16

examples/Countdown.js

@@ -11,3 +11,3 @@ import React, { Component } from 'react'

const getText = date => {
const getText = (date) => {
const h = date.hour()

@@ -21,3 +21,3 @@ const m = date.minute()

const Indicator = props => {
const Indicator = (props) => {
const seconds = totalSeconds - props.elapsedSeconds - initialSeconds

@@ -43,5 +43,10 @@ const date = moment()

class Countdown extends Component {
state = {
elapsedSeconds: 0,
progress: initialProgress
constructor(props) {
super(props)
this.state = {
elapsedSeconds: 0,
progress: initialProgress
}
}

@@ -108,4 +113,5 @@

}
}
export default Countdown

@@ -5,4 +5,9 @@ import React, { Component } from 'react'

class Timer extends Component {
state = {
elapsed: 0
constructor(props) {
super(props)
this.state = {
elapsed: 0
}
}

@@ -38,2 +43,3 @@

render = () => null
}

@@ -40,0 +46,0 @@

{
"name": "react-customizable-progressbar",
"version": "0.1.14",
"version": "0.1.15",
"main": "./dist/ReactCustomizableProgressbar.js",

@@ -5,0 +5,0 @@ "files": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc