From f33a43a5a4f3b15c7f82517826ec93f627235fe5 Mon Sep 17 00:00:00 2001 From: AlexKVal Date: Mon, 6 Apr 2015 15:23:00 +0300 Subject: [PATCH] define type for props.id --- src/Input.js | 1 + src/SplitButton.js | 1 + src/TabbedArea.js | 1 + 3 files changed, 3 insertions(+) diff --git a/src/Input.js b/src/Input.js index 24d7b2e168..062de9d5e8 100644 --- a/src/Input.js +++ b/src/Input.js @@ -24,6 +24,7 @@ const Input = React.createClass({ return React.PropTypes.oneOf(['success', 'warning', 'error']).apply(null, arguments); }, hasFeedback: React.PropTypes.bool, + id: React.PropTypes.string, groupClassName: React.PropTypes.string, wrapperClassName: React.PropTypes.string, labelClassName: React.PropTypes.string, diff --git a/src/SplitButton.js b/src/SplitButton.js index c378f30c4c..4fb12a9823 100644 --- a/src/SplitButton.js +++ b/src/SplitButton.js @@ -13,6 +13,7 @@ const SplitButton = React.createClass({ pullRight: React.PropTypes.bool, title: React.PropTypes.node, href: React.PropTypes.string, + id: React.PropTypes.string, target: React.PropTypes.string, dropdownTitle: React.PropTypes.node, onClick: React.PropTypes.func, diff --git a/src/TabbedArea.js b/src/TabbedArea.js index b006f87b74..5954492cb0 100644 --- a/src/TabbedArea.js +++ b/src/TabbedArea.js @@ -25,6 +25,7 @@ const TabbedArea = React.createClass({ defaultActiveKey: React.PropTypes.any, bsStyle: React.PropTypes.oneOf(['tabs', 'pills']), animation: React.PropTypes.bool, + id: React.PropTypes.string, onSelect: React.PropTypes.func },