Skip to content

Commit a6422f6

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

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/index.js

Lines changed: 2 additions & 1 deletion
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)