Skip to content

Commit

Permalink
Merge branch 'master' into alisonjoseph-patch-codeowners
Browse files Browse the repository at this point in the history
  • Loading branch information
asudoh authored Nov 19, 2019
2 parents 4e0f72e + 033a91f commit 8b3e4c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default class ContentSwitcher extends React.Component {
const classes = classNames(`${prefix}--content-switcher`, className);

return (
<div {...other} className={classes}>
<div {...other} className={classes} role="tablist">
{React.Children.map(children, (child, index) =>
React.cloneElement(child, {
index,
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Modal/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export default class Modal extends Component {
/**
* Specify the size variant.
*/
size: PropTypes.oneOf('xs', 'sm', 'lg'),
size: PropTypes.oneOf(['xs', 'sm', 'lg']),

/**
* Specify whether the modal should use 3rd party `focus-trap-react` for the focus-wrap feature.
Expand Down

0 comments on commit 8b3e4c6

Please sign in to comment.