st-input-moment

1.3.3 • Public • Published

input-moment

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 input-moment --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}
/>

Check app.js for a working example.

Development

License

ISC

Package Sidebar

Install

npm i st-input-moment

Weekly Downloads

1

Version

1.3.3

License

ISC

Unpacked Size

108 kB

Total Files

23

Last publish

Collaborators

  • st-operations