Skip to content

Commit

Permalink
Make Molstar the default export
Browse files Browse the repository at this point in the history
  • Loading branch information
samirelanduk committed Jul 3, 2021
1 parent aa0fbe0 commit d606663
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A react component for adding the [Molstar Macromolecular Visualiser](https://git
To use:

```jsx
import { Molstar } from "molstar-react";
import Molstar from "molstar-react";

export const App = () => {

Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

import Molstar from "./Molstar.jsx";
export { Molstar };
export default Molstar;

0 comments on commit d606663

Please sign in to comment.