Skip to content

Commit

Permalink
fix(ComposedModal): update oneOf signature (#4736)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack authored and asudoh committed Nov 20, 2019
1 parent 1c1bff8 commit 573a103
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default class ComposedModal extends Component {
/**
* Specify the size variant.
*/
size: PropTypes.oneOf('xs', 'sm', 'lg'),
size: PropTypes.oneOf(['xs', 'sm', 'lg']),
};

static getDerivedStateFromProps({ open }, state) {
Expand Down

0 comments on commit 573a103

Please sign in to comment.