зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1501935 - Use PropTypes.node in ConnectSection. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D10210 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
fae2c97215
Коммит
83457e2010
|
@ -11,7 +11,7 @@ const PropTypes = require("devtools/client/shared/vendor/react-prop-types");
|
|||
class ConnectSection extends PureComponent {
|
||||
static get propTypes() {
|
||||
return {
|
||||
children: PropTypes.any.isRequired,
|
||||
children: PropTypes.node.isRequired,
|
||||
className: PropTypes.string,
|
||||
icon: PropTypes.string.isRequired,
|
||||
title: PropTypes.string.isRequired,
|
||||
|
|
Загрузка…
Ссылка в новой задаче