Skip to content

Commit e9f2bde

Browse files
authored
Merge pull request #4096 from ProjectMirador/plugin-component-proptype
Loosen PluginComponents PropType requirement for WindowTopBarPluginMenu
2 parents 7e8b0f8 + b402e2f commit e9f2bde

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/WindowTopBarPluginMenu.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ WindowTopBarPluginMenu.propTypes = {
7272
container: PropTypes.shape({ current: PropTypes.instanceOf(Element) }),
7373
menuIcon: PropTypes.element,
7474
open: PropTypes.bool,
75-
PluginComponents: PropTypes.arrayOf(
76-
PropTypes.node,
77-
),
75+
PluginComponents: PropTypes.array, // eslint-disable-line react/forbid-prop-types
7876
windowId: PropTypes.string.isRequired,
7977
};

0 commit comments

Comments
 (0)