0.1.0 • Published 5 years ago

@talixo/time-picker v0.1.0

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

Talixo Time Picker

UI Component which represents Time Picker. It accepts and returns a time string in 'HH:mm' format.

How to install

Package is available as @talixo/time-picker in NPM registry, so you can use it in your project using npm install @talixo/time-picker --save or yarn add @talixo/time-picker.

Requirements

Your package should additionally have some extra dependencies:

  • @talixo/button: ^0.1.0
  • @talixo/icon: ^0.1.1
  • @talixo/shared: ^0.1.0
  • @talixo/text-input: ^0.2.0
  • moment: ^2.22.1
  • prop-types: ^15.6.1
  • react: ^16.2.0
  • react-dom: ^16.2.0

These packages are required by @talixo/time-picker, but you have to install them manually, to avoid having different versions of these in your application.

Supported props

TimePicker

It allows any props which are allowed for div. Additionally, it handles some differently:

Property nameTypeDefaultDescription
classNamestringn/aAdditional class name passed to wrapper.
onChangefunctionn/aEvent called after input value has been changed.
hourFormat12 or 2424Hour format.
valuestringself-controlledTime string in 'HH:mm' (24h) format passed to component.

Changelog

  • 0.1.0 - initial version
1.0.0-alpha.35

5 years ago

1.0.0-alpha.31

6 years ago

1.0.0-alpha.30

6 years ago

1.0.0-alpha.28

6 years ago

1.0.0-alpha.27

6 years ago

1.0.0-alpha.24

6 years ago

1.0.0-alpha.21

6 years ago

1.0.0-alpha.20

6 years ago

1.0.0-alpha.19

6 years ago

1.0.0-alpha.17

6 years ago

1.0.0-alpha.16

6 years ago

1.0.0-alpha.12

6 years ago

1.0.0-alpha.7

6 years ago

1.0.0-alpha.6

6 years ago

1.0.0-alpha.5

6 years ago

1.0.0-alpha.4

6 years ago

1.0.0-alpha.2

6 years ago

0.1.0

6 years ago