Skip to content

Commit

Permalink
docs: Add anchor for props section (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored and jquense committed Jun 18, 2019
1 parent 91ccc16 commit f1383c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/src/templates/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ class ComponentTemplate extends React.Component {
)}

<Container>
<h2>
<div>Props</div>
<h2 id={`${metadata.displayName}-props`}>
<a href={`#${metadata.displayName}-props`}>Props</a>
{metadata.composes && (
<small style={{ fontStyle: 'italic', fontSize: '70%' }}>
Accepts all props from{' '}
Expand Down

0 comments on commit f1383c5

Please sign in to comment.