We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc5da04 commit 8dbe04cCopy full SHA for 8dbe04c
src/toasts/ToastsContainer.jsx
@@ -26,7 +26,7 @@ ToastsContainer.defaultProps = {
26
};
27
28
ToastsContainer.propTypes = {
29
- children: PropTypes.element,
+ children: PropTypes.oneOfType([PropTypes.element, PropTypes.arrayOf(PropTypes.element)]),
30
noStyle: PropTypes.bool,
31
unique: PropTypes.bool,
32
0 commit comments