diff options
author | afc163 <afc163@gmail.com> | 2016-11-11 14:03:42 +0800 |
---|---|---|
committer | afc163 <afc163@gmail.com> | 2016-11-11 14:03:42 +0800 |
commit | bb0a25cb853ddbd2971bf1d0c74b6c4694015367 (patch) | |
tree | 99ee94edbd94979160698dcbe1e4a9b677366ef2 /examples/format.js | |
parent | 1d7c6e0121104e3bdb9a57a805e783a48e7ad1e3 (diff) | |
download | time-picker-bb0a25cb853ddbd2971bf1d0c74b6c4694015367.tar.gz time-picker-bb0a25cb853ddbd2971bf1d0c74b6c4694015367.tar.zst time-picker-bb0a25cb853ddbd2971bf1d0c74b6c4694015367.zip |
Updates
Diffstat (limited to 'examples/format.js')
-rw-r--r-- | examples/format.js | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/examples/format.js b/examples/format.js new file mode 100644 index 0000000..d77796d --- /dev/null +++ b/examples/format.js | |||
@@ -0,0 +1,57 @@ | |||
1 | webpackJsonp([1],{ | ||
2 | |||
3 | /***/ 0: | ||
4 | /***/ function(module, exports, __webpack_require__) { | ||
5 | |||
6 | module.exports = __webpack_require__(260); | ||
7 | |||
8 | |||
9 | /***/ }, | ||
10 | |||
11 | /***/ 260: | ||
12 | /***/ function(module, exports, __webpack_require__) { | ||
13 | |||
14 | 'use strict'; | ||
15 | |||
16 | __webpack_require__(2); | ||
17 | |||
18 | var _react = __webpack_require__(3); | ||
19 | |||
20 | var _react2 = _interopRequireDefault(_react); | ||
21 | |||
22 | var _reactDom = __webpack_require__(36); | ||
23 | |||
24 | var _reactDom2 = _interopRequireDefault(_reactDom); | ||
25 | |||
26 | var _moment = __webpack_require__(174); | ||
27 | |||
28 | var _moment2 = _interopRequireDefault(_moment); | ||
29 | |||
30 | var _rcTimePicker = __webpack_require__(175); | ||
31 | |||
32 | var _rcTimePicker2 = _interopRequireDefault(_rcTimePicker); | ||
33 | |||
34 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
35 | |||
36 | var App = _react2.default.createClass({ | ||
37 | displayName: 'App', | ||
38 | render: function render() { | ||
39 | return _react2.default.createElement( | ||
40 | 'div', | ||
41 | null, | ||
42 | _react2.default.createElement(_rcTimePicker2.default, { defaultValue: (0, _moment2.default)(), showHour: false }), | ||
43 | _react2.default.createElement(_rcTimePicker2.default, { defaultValue: (0, _moment2.default)(), showMinute: false }), | ||
44 | _react2.default.createElement(_rcTimePicker2.default, { defaultValue: (0, _moment2.default)(), showSecond: false }), | ||
45 | _react2.default.createElement(_rcTimePicker2.default, { defaultValue: (0, _moment2.default)(), showMinute: false, showSecond: false }), | ||
46 | _react2.default.createElement(_rcTimePicker2.default, { defaultValue: (0, _moment2.default)(), showHour: false, showSecond: false }), | ||
47 | _react2.default.createElement(_rcTimePicker2.default, { defaultValue: (0, _moment2.default)(), showHour: false, showMinute: false }) | ||
48 | ); | ||
49 | } | ||
50 | }); | ||
51 | |||
52 | _reactDom2.default.render(_react2.default.createElement(App, null), document.getElementById('__react-content')); | ||
53 | |||
54 | /***/ } | ||
55 | |||
56 | }); | ||
57 | //# sourceMappingURL=format.js.map \ No newline at end of file | ||