Skip to content

Commit a6422f6

Browse files
Andrew Fullerdiasbruno
Andrew Fuller
authored andcommitted
Use ES module for top level export
1 parent c05e88d commit a6422f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
module.exports = require('./components/Modal');
1+
import Modal from './components/Modal';
22

3+
export default Modal;

0 commit comments

Comments
 (0)