diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/TimePicker.jsx | 4 | ||||
-rw-r--r-- | src/index.js | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/TimePicker.jsx b/src/TimePicker.jsx index 91745c6..2c6a1f1 100644 --- a/src/TimePicker.jsx +++ b/src/TimePicker.jsx | |||
@@ -12,7 +12,7 @@ function refFn(field, component) { | |||
12 | this[field] = component; | 12 | this[field] = component; |
13 | } | 13 | } |
14 | 14 | ||
15 | class Picker extends Component { | 15 | export default class Picker extends Component { |
16 | static propTypes = { | 16 | static propTypes = { |
17 | prefixCls: PropTypes.string, | 17 | prefixCls: PropTypes.string, |
18 | clearText: PropTypes.string, | 18 | clearText: PropTypes.string, |
@@ -267,5 +267,3 @@ class Picker extends Component { | |||
267 | ); | 267 | ); |
268 | } | 268 | } |
269 | } | 269 | } |
270 | |||
271 | export default Picker; | ||
diff --git a/src/index.js b/src/index.js index f72be4f..02f4176 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -1,2 +1 @@ | |||
1 | import TimePicker from './TimePicker'; | export { default } from './TimePicker'; | |
2 | export default TimePicker; | ||