Skip to content

Commit

Permalink
fix(modal): update oneOf prop type to use array (#4716)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack committed Nov 19, 2019
1 parent 79be49d commit cb62296
Showing 1 changed file with 1 addition and 1 deletion.
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 cb62296

Please sign in to comment.