Fix modal prop types
[MAILPOET-2738]
This commit is contained in:
@@ -63,6 +63,16 @@ function Modal({
|
|||||||
}
|
}
|
||||||
|
|
||||||
Modal.propTypes = {
|
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,
|
title: PropTypes.string,
|
||||||
onRequestClose: PropTypes.func,
|
onRequestClose: PropTypes.func,
|
||||||
displayTitle: PropTypes.bool,
|
displayTitle: PropTypes.bool,
|
||||||
|
Reference in New Issue
Block a user