summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default/src/components/Theme.js
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-10-17 18:24:29 +0200
committerSamy Pesse <samypesse@gmail.com>2016-10-17 18:24:29 +0200
commit373a486a1456fdb8d0bbb96463e633fa34ef4a9c (patch)
treeaede2c57b027de306858877ed14d3dde389e93b6 /packages/gitbook-plugin-theme-default/src/components/Theme.js
parentf262a7cd89d0d555c27bf3a25bb2054a5af1e7fd (diff)
downloadgitbook-373a486a1456fdb8d0bbb96463e633fa34ef4a9c.zip
gitbook-373a486a1456fdb8d0bbb96463e633fa34ef4a9c.tar.gz
gitbook-373a486a1456fdb8d0bbb96463e633fa34ef4a9c.tar.bz2
Replace GitBook.Shapes by GitBook.PropTypes
Diffstat (limited to 'packages/gitbook-plugin-theme-default/src/components/Theme.js')
-rw-r--r--packages/gitbook-plugin-theme-default/src/components/Theme.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/gitbook-plugin-theme-default/src/components/Theme.js b/packages/gitbook-plugin-theme-default/src/components/Theme.js
index 741b3cc..8f5dce6 100644
--- a/packages/gitbook-plugin-theme-default/src/components/Theme.js
+++ b/packages/gitbook-plugin-theme-default/src/components/Theme.js
@@ -8,10 +8,10 @@ const LoadingBar = require('./LoadingBar');
const Theme = React.createClass({
propTypes: {
// State
- page: GitBook.Shapes.Page,
- summary: GitBook.Shapes.Summary,
- readme: GitBook.Shapes.Readme,
- history: GitBook.Shapes.History,
+ page: GitBook.PropTypes.Page,
+ summary: GitBook.PropTypes.Summary,
+ readme: GitBook.PropTypes.Readme,
+ history: GitBook.PropTypes.History,
sidebar: React.PropTypes.object,
// Other props
children: React.PropTypes.node