Skip to content

Commit

Permalink
Proptype fix (#2600)
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleywang4766 committed Mar 14, 2019
1 parent df44c2b commit ddf6488
Show file tree
Hide file tree
Showing 3 changed files with 267 additions and 323 deletions.
2 changes: 1 addition & 1 deletion app/components/List/index.js
Expand Up @@ -26,7 +26,7 @@ function List(props) {
}

List.propTypes = {
component: PropTypes.func.isRequired,
component: PropTypes.elementType.isRequired,
items: PropTypes.array,
};

Expand Down

0 comments on commit ddf6488

Please sign in to comment.