Skip to content

Commit 1f78c52

Browse files
authored
Merge pull request #14 from zapier/update-prop-types
Update component propType to elementType
2 parents f2e2250 + e2faef9 commit 1f78c52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ElementPortal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const ElementPortal = createReactClass({
3838
PropTypes.instanceOf(NodeList),
3939
PropTypes.arrayOf(PropTypes.instanceOf(HTMLElement))
4040
]),
41-
component: PropTypes.func,
41+
component: PropTypes.elementType,
4242
mapNodeToProps: PropTypes.func,
4343
resetAttributes: PropTypes.oneOfType([
4444
PropTypes.bool,

0 commit comments

Comments
 (0)