Skip to content

Commit

Permalink
feat: Handle different arrayOf values
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 8, 2020
1 parent 1e67d21 commit bd8399c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/PropList.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ const PropTypeInfo = ({ type }) => {
</div>
<div>{'>'}</div>
</div>
) : null;
) : (
<PropTypeInfo type={itemTypes} />
);
}
case 'oneOf':
return (
Expand Down

0 comments on commit bd8399c

Please sign in to comment.