Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Commit

Permalink
Add entry point and .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Olga Belyaeva committed Jan 24, 2017
1 parent 072ad38 commit 39818a5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea/
node_modules/
dist/
14 changes: 14 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import {render} from 'react-dom';
import React from 'react';

import GraphWorkspace from './GraphWorkspace';

import './styles.scss';

class iKnowBrowser {
constructor(container, graph) {
render(React.createElement(GraphWorkspace, {graph: graph}), container);
}
}

module.exports = iKnowBrowser;

0 comments on commit 39818a5

Please sign in to comment.