diff options
Diffstat (limited to 'packages/gitbook-plugin-theme-default/src/components/Body.js')
-rw-r--r-- | packages/gitbook-plugin-theme-default/src/components/Body.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/gitbook-plugin-theme-default/src/components/Body.js b/packages/gitbook-plugin-theme-default/src/components/Body.js index b4d9fe6..4f51f0f 100644 --- a/packages/gitbook-plugin-theme-default/src/components/Body.js +++ b/packages/gitbook-plugin-theme-default/src/components/Body.js @@ -6,15 +6,16 @@ const Toolbar = require('./Toolbar'); const Body = React.createClass({ propTypes: { - page: GitBook.Shapes.Page + page: GitBook.Shapes.Page, + readme: GitBook.Shapes.Readme }, render() { - const { page } = this.props; + const { page, readme } = this.props; return ( <div className="Body page-wrapper"> - <Toolbar /> + <Toolbar title={page.title} readme={readme} /> <Page page={page} /> </div> ); |