Skip to content

Commit

Permalink
fix(VirtualContainer): propTypes.children should be renderable
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchentw committed Jun 17, 2015
1 parent ac4b31f commit a3d73af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internals/VirtualContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class VirtualContainer extends React.Component {
VirtualContainer.propTypes = {
googleMapsApi: PropTypes.object.isRequired,
map: PropTypes.object.isRequired,
children: PropTypes.arrayOf(PropTypes.element),
children: PropTypes.renderable || PropTypes.node, // https://github.com/facebook/react/issues/1752#issuecomment-47818166
};

export default VirtualContainer;

0 comments on commit a3d73af

Please sign in to comment.