1.3.0 • Published 5 years ago

@cjbutton/digital-clock v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Digital Clock

Digital Clock Display with options for 12/24 hour clock in three colors, with settable timezone.

Written in TypeScript with Sass.

Cyan-Digital-Clock

Install

npm install --save @cjbutton/digital-clock

License

MIT © CJButton

Example Usage

import DigitalClock from '@cjbutton/digital-clock'
import '@cjbutton/digital-clock/dist/index.scss'

class Example extends Component {
  render() {
    return <DigitalClock />
  }
}

We can pass props like so:

<DigitalClock style='12' color='green' timezone='America/New_York'>

Options

PropValuesTypeDefault
Type"12" / "24"string"24"
Color"cyan" / "red" / "green"string"cyan"
TimezoneIANA Time Zone Namestringnull ( will display local time )
1.3.0

5 years ago

1.2.0

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.19

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago