aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authoryiminghe <yiminghe@gmail.com>2015-12-05 03:26:32 +0800
committeryiminghe <yiminghe@gmail.com>2015-12-05 03:26:32 +0800
commite9060dda0dd04e99666ff29efe459ebc7d7c65a7 (patch)
tree8647b5d9de89cf153aca06d3a6269e87e6813e70 /README.md
parent38ecfddfa7719dfa88b11a2113b53b6ffc8842d5 (diff)
downloadtime-picker-e9060dda0dd04e99666ff29efe459ebc7d7c65a7.tar.gz
time-picker-e9060dda0dd04e99666ff29efe459ebc7d7c65a7.tar.zst
time-picker-e9060dda0dd04e99666ff29efe459ebc7d7c65a7.zip
lint
Diffstat (limited to 'README.md')
-rw-r--r--README.md31
1 files changed, 28 insertions, 3 deletions
diff --git a/README.md b/README.md
index d2dcc3c..60e5ab0 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,31 @@
2 2
3React TimePicker 3React TimePicker
4 4
5[![NPM version][npm-image]][npm-url]
6[![build status][travis-image]][travis-url]
7[![Test coverage][coveralls-image]][coveralls-url]
8[![gemnasium deps][gemnasium-image]][gemnasium-url]
9[![node version][node-image]][node-url]
10[![npm download][download-image]][download-url]
11
12[npm-image]: http://img.shields.io/npm/v/rc-time-picker.svg?style=flat-square
13[npm-url]: http://npmjs.org/package/rc-time-picker
14[travis-image]: https://img.shields.io/travis/react-component/time-picker.svg?style=flat-square
15[travis-url]: https://travis-ci.org/react-component/time-picker
16[coveralls-image]: https://img.shields.io/coveralls/react-component/time-picker.svg?style=flat-square
17[coveralls-url]: https://coveralls.io/r/react-component/time-picker?branch=master
18[gemnasium-image]: http://img.shields.io/gemnasium/react-component/time-picker.svg?style=flat-square
19[gemnasium-url]: https://gemnasium.com/react-component/time-picker
20[node-image]: https://img.shields.io/badge/node.js-%3E=_4.0.0-green.svg?style=flat-square
21[node-url]: http://nodejs.org/download/
22[download-image]: https://img.shields.io/npm/dm/rc-time-picker.svg?style=flat-square
23[download-url]: https://npmjs.org/package/rc-time-picker
24
25example
26--------
27
28http://react-component.github.io/time-picker/
29
5install 30install
6------- 31-------
7 32
@@ -37,9 +62,9 @@ API
37| showHour | Boolean | whether show hour | | 62| showHour | Boolean | whether show hour | |
38| showSecond | Boolean | whether show second | | 63| showSecond | Boolean | whether show second | |
39| formatter | String|GregorianCalendarFormatter | | | 64| formatter | String|GregorianCalendarFormatter | | |
40| hourOptions | Array<String> | hour options | | 65| hourOptions | Array<Number> | hour options | |
41| minuteOptions | Array<String> | minute options | | 66| minuteOptions | Array<Number> | minute options | |
42| secondOptions | Array<String> | second options | | 67| secondOptions | Array<Number> | second options | |
43| onChange | Function | null | called when select a different value | 68| onChange | Function | null | called when select a different value |
44| placement | String | bottomLeft | one of ['left','right','top','bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'] | 69| placement | String | bottomLeft | one of ['left','right','top','bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'] |
45| transitionName | String | '' | | 70| transitionName | String | '' | |