diff --git a/DayPicker/index.js b/DayPicker/index.js index cdd4950930..911b1a1f1e 100644 --- a/DayPicker/index.js +++ b/DayPicker/index.js @@ -1 +1,3 @@ -module.exports = require('../build/DayPicker'); +import DayPicker from '../build/DayPicker'; + +export default DayPicker; diff --git a/DayPickerInput/index.js b/DayPickerInput/index.js index 6caeab4802..aa8c134c83 100644 --- a/DayPickerInput/index.js +++ b/DayPickerInput/index.js @@ -1 +1,3 @@ -module.exports = require('../build/DayPickerInput'); +import DayPickerInput from '../build/DayPickerInput'; + +export default DayPickerInput;