0.5.7 • Published 7 years ago

input-moment-ex v0.5.7

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

input-moment-ex

FORKED FROM https://github.com/wangzuo/input-moment

React datetime picker powered by momentjs

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

Changes in this version of input-moment

Installation

npm i input-moment-ex --save

Notice: This module requires moment as a peerDependency.

Demo

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

Usage

<InputMoment
  moment={this.state.moment}
  onChange={this.handleChange}
  onSave={this.handleSave}
  sideBySide
  isValid={(date) => {
      return date.isAfter(moment());
  }}
  prevMonthIcon="ion-ios-arrow-left" // default
  nextMonthIcon="ion-ios-arrow-right" // default
/>

Check app.js for a working example.

Development

License

ISC

0.5.7

7 years ago

0.5.6

7 years ago

0.5.5

7 years ago

0.5.4

7 years ago

0.5.3

7 years ago

0.5.2

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.9

7 years ago

0.4.8

7 years ago

0.4.7

7 years ago

0.4.6

7 years ago

0.4.5

7 years ago

0.4.4

7 years ago

0.4.3

7 years ago

0.4.2

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago