aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/TimePicker.jsx1
-rw-r--r--src/mixin/CommonMixin.js1
-rw-r--r--src/module/Panel.jsx1
3 files changed, 2 insertions, 1 deletions
diff --git a/src/TimePicker.jsx b/src/TimePicker.jsx
index 350eeb2..86faa71 100644
--- a/src/TimePicker.jsx
+++ b/src/TimePicker.jsx
@@ -45,6 +45,7 @@ const Picker = React.createClass({
45 45
46 getDefaultProps() { 46 getDefaultProps() {
47 return { 47 return {
48 prefixCls: 'rc-time-picker',
48 defaultOpen: false, 49 defaultOpen: false,
49 style: {}, 50 style: {},
50 className: '', 51 className: '',
diff --git a/src/mixin/CommonMixin.js b/src/mixin/CommonMixin.js
index a6893b8..be080fd 100644
--- a/src/mixin/CommonMixin.js
+++ b/src/mixin/CommonMixin.js
@@ -9,7 +9,6 @@ export default {
9 9
10 getDefaultProps() { 10 getDefaultProps() {
11 return { 11 return {
12 prefixCls: 'rc-time-picker',
13 locale: enUs, 12 locale: enUs,
14 }; 13 };
15 }, 14 },
diff --git a/src/module/Panel.jsx b/src/module/Panel.jsx
index 4c3d071..137ec2f 100644
--- a/src/module/Panel.jsx
+++ b/src/module/Panel.jsx
@@ -40,6 +40,7 @@ const Panel = React.createClass({
40 40
41 getDefaultProps() { 41 getDefaultProps() {
42 return { 42 return {
43 prefixCls: 'rc-time-picker-panel',
43 onChange: noop, 44 onChange: noop,
44 onClear: noop, 45 onClear: noop,
45 }; 46 };