From b29e5ecb6296e24454199cc951fcccb4e4251018 Mon Sep 17 00:00:00 2001 From: Jimmy Jia Date: Thu, 13 Aug 2015 17:21:31 -0400 Subject: [PATCH] Hide bsStyle from Modal props documentation Fixes #1147 --- src/Modal.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Modal.js b/src/Modal.js index 48de68689f..080c017d95 100644 --- a/src/Modal.js +++ b/src/Modal.js @@ -127,7 +127,13 @@ const Modal = React.createClass({ * Consider leaving the default value here, as it is necessary to make the Modal work well with assistive technologies, * such as screen readers. */ - enforceFocus: React.PropTypes.bool + enforceFocus: React.PropTypes.bool, + + /** + * Hide this from automatic props documentation generation. + * @private + */ + bsStyle: React.PropTypes.string }, getDefaultProps() {