Skip to content

Commit 700d4e2

Browse files
committed
Fix issue in Modal propTypes
1 parent a783091 commit 700d4e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/modal/Modal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ Modal.propTypes = {
242242
* Renders a fullscreen modal. Specifying a breakpoint will render the modal
243243
* as fullscreen below the breakpoint size.
244244
*/
245-
fullscreen: PropTypes.oneOf([
245+
fullscreen: PropTypes.oneOfType([
246246
PropTypes.bool,
247247
PropTypes.oneOf(['sm-down', 'md-down', 'lg-down', 'xl-down', 'xxl-down'])
248248
]),

0 commit comments

Comments
 (0)