Skip to content

Commit

Permalink
Add support for new signature type added by react-docgen@next
Browse files Browse the repository at this point in the history
  • Loading branch information
Joao Ribeiro authored and danielduan committed Aug 1, 2017
1 parent f449e16 commit d153cd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/info/src/components/PropTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ const renderDocgenPropType = propType => {
case 'instanceOf':
return propType.value;
case 'union':
return propType.raw;
case 'signature':
return propType.raw;
default:
return name;
Expand Down

0 comments on commit d153cd6

Please sign in to comment.