Skip to content

Commit

Permalink
Use ES module for top level export
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Fuller authored and diasbruno committed Jun 16, 2017
1 parent c05e88d commit a6422f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
module.exports = require('./components/Modal');
import Modal from './components/Modal';

export default Modal;

0 comments on commit a6422f6

Please sign in to comment.