summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default/src/components/Summary.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/Summary.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/Summary.js')
-rw-r--r--packages/gitbook-plugin-theme-default/src/components/Summary.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/gitbook-plugin-theme-default/src/components/Summary.js b/packages/gitbook-plugin-theme-default/src/components/Summary.js
index d0fbde6..ef6ab3f 100644
--- a/packages/gitbook-plugin-theme-default/src/components/Summary.js
+++ b/packages/gitbook-plugin-theme-default/src/components/Summary.js
@@ -5,7 +5,7 @@ const { React } = GitBook;
let SummaryArticle = React.createClass({
propTypes: {
active: React.PropTypes.bool,
- article: GitBook.Shapes.SummaryArticle
+ article: GitBook.PropTypes.SummaryArticle
},
render() {
@@ -33,7 +33,7 @@ SummaryArticle = GitBook.connect(SummaryArticle, ({page}, {article}) => {
const SummaryArticles = React.createClass({
propTypes: {
- articles: GitBook.Shapes.listOf(GitBook.Shapes.SummaryArticle)
+ articles: GitBook.PropTypes.listOf(GitBook.PropTypes.SummaryArticle)
},
render() {
@@ -51,7 +51,7 @@ const SummaryArticles = React.createClass({
const SummaryPart = React.createClass({
propTypes: {
- part: GitBook.Shapes.SummaryPart
+ part: GitBook.PropTypes.SummaryPart
},
render() {
@@ -73,7 +73,7 @@ const SummaryPart = React.createClass({
const SummaryParts = React.createClass({
propTypes: {
- parts: GitBook.Shapes.listOf(GitBook.Shapes.SummaryPart)
+ parts: GitBook.PropTypes.listOf(GitBook.PropTypes.SummaryPart)
},
render() {
@@ -91,7 +91,7 @@ const SummaryParts = React.createClass({
const Summary = React.createClass({
propTypes: {
- summary: GitBook.Shapes.Summary
+ summary: GitBook.PropTypes.Summary
},
render() {