summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-search/src/components
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-search/src/components
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-search/src/components')
-rw-r--r--packages/gitbook-plugin-search/src/components/Input.js4
-rw-r--r--packages/gitbook-plugin-search/src/components/Results.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/gitbook-plugin-search/src/components/Input.js b/packages/gitbook-plugin-search/src/components/Input.js
index 457deff..22351cc 100644
--- a/packages/gitbook-plugin-search/src/components/Input.js
+++ b/packages/gitbook-plugin-search/src/components/Input.js
@@ -6,8 +6,8 @@ const search = require('../actions/search');
const SearchInput = React.createClass({
propTypes: {
query: React.PropTypes.string,
- i18n: GitBook.Shapes.I18n,
- dispatch: GitBook.Shapes.dispatch
+ i18n: GitBook.PropTypes.I18n,
+ dispatch: GitBook.PropTypes.dispatch
},
onChange(event) {
diff --git a/packages/gitbook-plugin-search/src/components/Results.js b/packages/gitbook-plugin-search/src/components/Results.js
index ddff87d..16a8cbd 100644
--- a/packages/gitbook-plugin-search/src/components/Results.js
+++ b/packages/gitbook-plugin-search/src/components/Results.js
@@ -42,8 +42,8 @@ const Result = React.createClass({
const SearchResults = React.createClass({
propTypes: {
- i18n: GitBook.Shapes.I18n,
- results: GitBook.Shapes.list,
+ i18n: GitBook.PropTypes.I18n,
+ results: GitBook.PropTypes.list,
query: React.PropTypes.string,
children: React.PropTypes.node
},