Skip to content

Commit

Permalink
feat: Implement shape prop type
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 8, 2020
1 parent 44b55ce commit dc8b14b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PropList.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const PropTypeInfo = ({ type }) => {
<PropTypeInfo key={idx} type={type} />
));
case 'shape':
return <div>Shape</div>;
return <PropList propTypes={type.meta.types} />;
default:
return null;
}
Expand Down

0 comments on commit dc8b14b

Please sign in to comment.