I noticed that index.js is using module.exports = SpinKit rather than export default SpinKit. Is there a reason for this? Or can we switch it to using the ES modules syntax? My linter can't resolve the default import because there's not default export. Small issue, but don't see why we can't do it since SpinKit is already written using import rather than require
I noticed that
index.js
is usingmodule.exports = SpinKit
rather thanexport default SpinKit
. Is there a reason for this? Or can we switch it to using the ES modules syntax? My linter can't resolve the default import because there's not default export. Small issue, but don't see why we can't do it since SpinKit is already written usingimport
rather thanrequire