Skip to content

Commit

Permalink
fix(button): add string as allowable proptype to ariaPressed
Browse files Browse the repository at this point in the history
  • Loading branch information
bfbiggs committed Jul 29, 2020
1 parent 90d6b2b commit b9ebb10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/src/lib/Button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Button.propTypes = {
/** @prop ID to reference for blindness accessibility feature | '' */
ariaLabelledBy: PropTypes.string,
/** @prop Boolean value for aria-pressed (toggle button accessibility) | null */
ariaPressed: PropTypes.bool,
ariaPressed: PropTypes.oneOfType([PropTypes.bool,PropTypes.string]),
/** @prop Children Nodes to Render inside Button | null */
children: PropTypes.node,
/** @prop Sets circle css styling | false */
Expand Down

0 comments on commit b9ebb10

Please sign in to comment.