Skip to content

Commit

Permalink
fix(customPropTypes): itemsShorthand -> collectionShorthand (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
levithomason committed Oct 6, 2016
1 parent 9e4dc8a commit 87bf33c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/customPropTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export const itemShorthand = (...args) => every([
/**
* Collection shorthand ensures a prop is an array of item shorthand.
*/
export const itemsShorthand = (...args) => every([
export const collectionShorthand = (...args) => every([
disallow(['children']),
PropTypes.arrayOf(itemShorthand),
])(...args)
Expand Down

0 comments on commit 87bf33c

Please sign in to comment.