summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-core
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-09-05 12:14:37 +0200
committerSamy Pessé <samypesse@gmail.com>2016-09-05 12:14:37 +0200
commit839904a70419aaef1006be820ec092d978236a20 (patch)
treed810c7880c8b26fc052ccf672bf3477e1722edae /packages/gitbook-core
parent0e74c9bad5b184528880d499485e1154c000b1b5 (diff)
downloadgitbook-839904a70419aaef1006be820ec092d978236a20.zip
gitbook-839904a70419aaef1006be820ec092d978236a20.tar.gz
gitbook-839904a70419aaef1006be820ec092d978236a20.tar.bz2
Start architecturing new default theme
Diffstat (limited to 'packages/gitbook-core')
-rw-r--r--packages/gitbook-core/src/components/Application.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/gitbook-core/src/components/Application.js b/packages/gitbook-core/src/components/Application.js
new file mode 100644
index 0000000..3414a37
--- /dev/null
+++ b/packages/gitbook-core/src/components/Application.js
@@ -0,0 +1,10 @@
+const React = require('react');
+const { InjectedComponent } = require('./components/InjectedComponent');
+
+const Application = React.createClass({
+ render() {
+ return <InjectedComponent matching={{ role: 'Body' }} />
+ }
+});
+
+module.exports = Application;