diff --git a/packages/react/src/components/ComposedModal/ComposedModal.js b/packages/react/src/components/ComposedModal/ComposedModal.js index e8e9cbed5b85..bee7b6083a83 100644 --- a/packages/react/src/components/ComposedModal/ComposedModal.js +++ b/packages/react/src/components/ComposedModal/ComposedModal.js @@ -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) {