-import TimePanel from './src/';
-export default TimePanel;
+export { default } from './src/';
{
"name": "rc-time-picker",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "React TimePicker",
"keywords": [
"react",
this[field] = component;
}
-class Picker extends Component {
+export default class Picker extends Component {
static propTypes = {
prefixCls: PropTypes.string,
clearText: PropTypes.string,
);
}
}
-
-export default Picker;
-import TimePicker from './TimePicker';
-export default TimePicker;
+export { default } from './TimePicker';