Projetos
Ver no GitHub
wangzuo/input-moment
Sobre
Seletor de data e hora para React baseado no momentjs
Desenvolvimento web e de aplicativosCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Originalinput-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}
minStep={1} // default
hourStep={1} // default
prevMonthIcon="ion-ios-arrow-left" // default
nextMonthIcon="ion-ios-arrow-right" // default
/>
Check app.js for a working example.
Development
- npm install
- npm start
- http://localhost:8080
License
ISC
Explore projetos relacionados
Carregando…