Fix modal prop types

[MAILPOET-2738]
This commit is contained in:
Pavel Dohnal
2020-03-17 11:58:35 +01:00
committed by Veljko V
parent c77a9f3137
commit fbae1f10ad

View File

@@ -63,6 +63,16 @@ function Modal({
}
Modal.propTypes = {
closeButtonLabel: PropTypes.string,
children: PropTypes.node,
aria: PropTypes.shape({
labelledby: PropTypes.string,
describedby: PropTypes.string,
}),
isDismissible: PropTypes.bool,
contentClassName: PropTypes.string,
contentLabel: PropTypes.string,
overlayClassName: PropTypes.string,
title: PropTypes.string,
onRequestClose: PropTypes.func,
displayTitle: PropTypes.bool,