0.4.9 • Published 3 years ago

newtime-input-moment-extended v0.4.9

Weekly downloads
4
License
ISC
Repository
github
Last release
3 years ago

Input moment forked from wangzuo/input-moment

input-moment

npm Build Status styled with prettier

React datetime picker powered by momentjs

The design is from https://dribbble.com/shots/1439965-Due-Date-and-Time-Picker.

The icon is from ionicons.

Installation

npm i newtime-input-moment-extended --save

Notice: This module requires moment as a peerDependency.

Demo

http://wangzuo.github.io/input-moment

Usage

<InputMoment
  moment={this.state.moment}
  onChange={this.handleChange}
  onSave={this.handleSave}
  minStep={1} // default
  hourStep={1} // default
  prevMonthIcon="ion-ios-arrow-left" // default
  nextMonthIcon="ion-ios-arrow-right" // default
  tab={this.state.tab}
  handleclicktab={(e, tab) => {this.handleclicktab(e, tab)}}
  savebuttonlabel={'close it down'}
/>

Check app.js for a working example.

Development

License

ISC

0.4.9

3 years ago

0.4.8

3 years ago

0.4.7

3 years ago

0.4.6

3 years ago

0.4.4

6 years ago

0.4.3

6 years ago

0.4.2

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago