Skip to content

Commit

Permalink
Add prop type for dropup in SplitButton.js
Browse files Browse the repository at this point in the history
and ignore type checking for `bsSize` because it is in BootstrapMixin.
  • Loading branch information
AlexKVal committed Apr 10, 2015
1 parent 8a9e95c commit c3e54fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/SplitButton.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint react/prop-types: [1, {ignore: ["children", "className", "bsSize"]}]*/
/* BootstrapMixin contains `bsSize` type validation */
import React from 'react';
import classNames from 'classnames';
import BootstrapMixin from './BootstrapMixin';
Expand All @@ -16,6 +18,7 @@ const SplitButton = React.createClass({
id: React.PropTypes.string,
target: React.PropTypes.string,
dropdownTitle: React.PropTypes.node,
dropup: React.PropTypes.bool,
onClick: React.PropTypes.func,
onSelect: React.PropTypes.func,
disabled: React.PropTypes.bool
Expand Down

0 comments on commit c3e54fe

Please sign in to comment.