Skip to content

Commit

Permalink
fix(Button): fix oneOfType propType
Browse files Browse the repository at this point in the history
  • Loading branch information
levithomason committed Mar 18, 2017
1 parent c46ba1b commit bc4c999
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/elements/Button/ButtonOr.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ ButtonOr.propTypes = {
className: PropTypes.string,

/** Or buttons can have their text localized, or adjusted by using the text prop. */
text: PropTypes.oneOfType(
text: PropTypes.oneOfType([
PropTypes.number,
PropTypes.string,
),
]),
}

export default ButtonOr

0 comments on commit bc4c999

Please sign in to comment.