summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-plugin-theme-default/src')
-rw-r--r--packages/gitbook-plugin-theme-default/src/index.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/gitbook-plugin-theme-default/src/index.js b/packages/gitbook-plugin-theme-default/src/index.js
index 86b2135..6499d5a 100644
--- a/packages/gitbook-plugin-theme-default/src/index.js
+++ b/packages/gitbook-plugin-theme-default/src/index.js
@@ -6,11 +6,12 @@ const Page = require('./Page');
let ThemeBody = React.createClass({
propTypes: {
- page: GitBook.Shapes.Page
+ page: GitBook.Shapes.Page,
+ children: React.PropTypes.node
},
render() {
- const { page } = this.props;
+ const { page, children } = this.props;
return (
<div className="GitBook book">
@@ -21,6 +22,7 @@ let ThemeBody = React.createClass({
<Sidebar />
<Page page={page} />
+ {children}
</div>
);
}