diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/step.html | 0 | ||||
-rw-r--r-- | examples/step.js | 10 |
2 files changed, 10 insertions, 0 deletions
diff --git a/examples/step.html b/examples/step.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/examples/step.html | |||
diff --git a/examples/step.js b/examples/step.js new file mode 100644 index 0000000..12fc45d --- /dev/null +++ b/examples/step.js | |||
@@ -0,0 +1,10 @@ | |||
1 | import 'rc-time-picker/assets/index.less'; | ||
2 | |||
3 | import React from 'react'; | ||
4 | import ReactDom from 'react-dom'; | ||
5 | import moment from 'moment'; | ||
6 | import TimePicker from 'rc-time-picker'; | ||
7 | |||
8 | ReactDom.render( | ||
9 | <TimePicker defaultValue={moment()} showSecond={false} minuteStep={15} /> | ||
10 | , document.getElementById('__react-content')); | ||