Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit e25ee07

Browse files
committed
Protype error fix
1 parent e61743f commit e25ee07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/atoms/Container/Container.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import cn from 'classnames'
77
* Render the Container component.
88
*
99
* @param {object} props Container component props.
10-
* @param {Element} props.children Container children.
10+
* @param {object} props.children Container children.
1111
* @param {boolean} props.paddingTop Should container render top padding.
1212
* @param {boolean} props.paddingBtm Should container render bottom padding.
1313
* @return {Element} The Container component.
@@ -27,7 +27,7 @@ export default function Container({children, paddingTop, paddingBtm}) {
2727
}
2828

2929
Container.propTypes = {
30-
children: PropTypes.element,
30+
children: PropTypes.node,
3131
paddingTop: PropTypes.bool,
3232
paddingBtm: PropTypes.bool
3333
}

0 commit comments

Comments
 (0)