Skip to content

Commit

Permalink
Define type for accordion property
Browse files Browse the repository at this point in the history
in PanelGroup.js and disable superfluous warning for `bsStyle`.
BootstrapMixin contains type validation for it.
  • Loading branch information
AlexKVal committed Apr 10, 2015
1 parent 52cd9db commit b059563
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/PanelGroup.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint react/prop-types: [1, {ignore: ["children", "className", "bsStyle"]}]*/
/* BootstrapMixin contains `bsStyle` type validation */
import React, { cloneElement } from 'react';
import classNames from 'classnames';

Expand All @@ -9,6 +11,7 @@ const PanelGroup = React.createClass({

propTypes: {
collapsable: React.PropTypes.bool,
accordion: React.PropTypes.bool,
activeKey: React.PropTypes.any,
defaultActiveKey: React.PropTypes.any,
onSelect: React.PropTypes.func
Expand Down

0 comments on commit b059563

Please sign in to comment.