diff options
author | Samy Pessé <samypesse@gmail.com> | 2017-02-18 23:28:21 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2017-02-18 23:28:21 +0100 |
commit | bcd147d382a8167f014671719f6e6c7b1db9c0f3 (patch) | |
tree | b26836940d7f348dead9b92385207691e0a1f1c0 | |
parent | 8b7f58a7e627b309983a494e52b5061349d18d33 (diff) | |
download | gitbook-bcd147d382a8167f014671719f6e6c7b1db9c0f3.zip gitbook-bcd147d382a8167f014671719f6e6c7b1db9c0f3.tar.gz gitbook-bcd147d382a8167f014671719f6e6c7b1db9c0f3.tar.bz2 |
Add prop types for config
-rw-r--r-- | packages/gitbook-core/src/propTypes/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/gitbook-core/src/propTypes/index.js b/packages/gitbook-core/src/propTypes/index.js index f56b78c..bd20044 100644 --- a/packages/gitbook-core/src/propTypes/index.js +++ b/packages/gitbook-core/src/propTypes/index.js @@ -1,5 +1,6 @@ const React = require('react'); const ImmutablePropTypes = require('react-immutable-proptypes'); +const Config = require('../models/Config'); module.exports = { ...ImmutablePropTypes, @@ -15,5 +16,6 @@ module.exports = { Readme: require('./Readme'), Summary: require('./Summary'), SummaryPart: require('./SummaryPart'), - SummaryArticle: require('./SummaryArticle') + SummaryArticle: require('./SummaryArticle'), + Config: React.PropTypes.instanceOf(Config) }; |